Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001837/0.001837, allocations: 99.53 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002035/0.002035, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.408e-05/3.65e-05, allocations: 2.312 kB / 272.3 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.008185/0.008221, allocations: 2.756 MB / 275 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002545/0.01077, allocations: 0.6931 MB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002154/0.01098, allocations: 4 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.01122, allocations: 39.58 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004111/0.01163, allocations: 107.1 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004432/0.01208, allocations: 83.77 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007168/0.01279, allocations: 370.3 kB / 276.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002438/0.01304, allocations: 56.83 kB / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004591/0.0135, allocations: 195.6 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.01382, allocations: 123.5 kB / 276.7 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.599e-05/0.01392, allocations: 28 kB / 276.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.604e-05/0.01401, allocations: 32 kB / 276.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.01413, allocations: 63.69 kB / 276.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.01438, allocations: 107.7 kB / 276.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007578/0.01514, allocations: 342.9 kB / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.01514, allocations: 0 / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.01514, allocations: 0 / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.01515, allocations: 0 / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.002118/0.01727, allocations: 0.6619 MB / 277.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.01732, allocations: 15.98 kB / 277.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.01752, allocations: 52.75 kB / 277.9 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006623/0.01818, allocations: 224.1 kB / 278.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.01822, allocations: 20.81 kB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-05/0.01828, allocations: 24.38 kB / 278.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009237/0.01921, allocations: 297.7 kB / 278.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.01923, allocations: 192 / 278.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.058e-05/0.01928, allocations: 12.38 kB / 278.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.01929, allocations: 11.94 kB / 278.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008082/0.0201, allocations: 193.9 kB / 278.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002465/0.02257, allocations: 0.8629 MB / 279.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008541/0.02342, allocations: 183.1 kB / 279.8 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/0.02373, allocations: 75.64 kB / 279.8 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.271e-05/0.02377, allocations: 4 kB / 279.8 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007201/0.02449, allocations: 275.9 kB / 280.1 MB, free: 9.664 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 2.274e-06/0.0245, allocations: 4 kB / 280.1 MB, free: 9.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.002193/0.02669, allocations: 368.8 kB / 280.5 MB, free: 9.289 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/0.02684, allocations: 132.5 kB / 280.6 MB, free: 9.129 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006728/0.02752, allocations: 352.2 kB / 280.9 MB, free: 8.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.614e-05/0.02757, allocations: 33.7 kB / 281 MB, free: 8.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.02786, allocations: 234.9 kB / 281.2 MB, free: 8.496 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.867e-05/0.02795, allocations: 51.58 kB / 281.3 MB, free: 8.445 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.02814, allocations: 63.55 kB / 281.3 MB, free: 8.375 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004261/0.02856, allocations: 0.5235 MB / 281.8 MB, free: 7.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/0.02897, allocations: 98.14 kB / 281.9 MB, free: 7.738 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006645/0.02963, allocations: 315.8 kB / 282.2 MB, free: 7.355 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008235/0.03045, allocations: 254.8 kB / 282.5 MB, free: 7.062 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.03046, allocations: 3.938 kB / 282.5 MB, free: 7.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001484/0.03194, allocations: 390.9 kB / 282.9 MB, free: 6.656 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.617e-05/0.03201, allocations: 37.64 kB / 282.9 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.03203, allocations: 4 kB / 282.9 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000763/0.03279, allocations: 87.55 kB / 283 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.03309, allocations: 44 kB / 283 MB, free: 6.477 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004238/0.03733, allocations: 2.366 MB / 285.4 MB, free: 3.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004464/0.03778, allocations: 43.86 kB / 285.5 MB, free: 3.938 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.03781, allocations: 8 kB / 285.5 MB, free: 3.93 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003262/0.03814, allocations: 192.4 kB / 285.7 MB, free: 3.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.03822, allocations: 27.86 kB / 285.7 MB, free: 3.703 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.853e-05/0.03831, allocations: 26.11 kB / 285.7 MB, free: 3.676 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.03831, allocations: 4 kB / 285.7 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.03832, allocations: 3.938 kB / 285.7 MB, free: 3.668 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.03832, allocations: 4 kB / 285.7 MB, free: 3.664 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004902/0.03881, allocations: 240.5 kB / 286 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.03882, allocations: 0 / 286 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.03898, allocations: 19.98 kB / 286 MB, free: 3.375 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006894/0.03967, allocations: 87.61 kB / 286.1 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.03969, allocations: 0 / 286.1 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004015/0.04371, allocations: 2.358 MB / 288.4 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.04371, allocations: 4.031 kB / 288.4 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.04487, allocations: 287.7 kB / 288.7 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.473e-05/0.04496, allocations: 23.84 kB / 288.7 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.614e-05/0.04501, allocations: 7.938 kB / 288.7 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/0.04531, allocations: 27.97 kB / 288.8 MB, free: 440 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.04544, allocations: 31.95 kB / 288.8 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.04547, allocations: 4 kB / 288.8 MB, free: 404 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003897/0.04586, allocations: 237.1 kB / 289 MB, free: 168 kB / 266.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.04586, allocations: 0 / 289 MB, free: 168 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007373/0.04659, allocations: 79.89 kB / 289.1 MB, free: 88 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002477/0.04684, allocations: 103.1 kB / 289.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.04818, allocations: 484.4 kB / 289.7 MB, free: 15.47 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.04818, allocations: 0 / 289.7 MB, free: 15.47 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007194/0.0489, allocations: 285.4 kB / 290 MB, free: 15.17 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/0.04946, allocations: 60.38 kB / 290 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.05171, allocations: 0.4949 MB / 290.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.05194, allocations: 146 kB / 290.7 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000169/0.05211, allocations: 22.28 kB / 290.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.05223, allocations: 24.5 kB / 290.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of SimCode: time 1.562e-06/0.05223, allocations: 0 / 290.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of Templates: time 0.01236/0.06458, allocations: 4.116 MB / 294.8 MB, free: 10.31 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.831059104995802]