Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 75.77 kB / 22.46 MB, free: 2.094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 168 kB / 25.75 MB, free: 8.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.048/1.048, allocations: 158.6 MB / 187.5 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 251.1 MB, free: 7.762 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.506e-05, allocations: 2.312 kB / 251.1 MB, free: 7.758 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.002998/0.003023, allocations: 2.716 MB / 253.9 MB, free: 5.023 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009369/0.00396, allocations: 0.7059 MB / 254.6 MB, free: 4.309 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.004082, allocations: 7.938 kB / 254.6 MB, free: 4.301 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.004222, allocations: 47.52 kB / 254.6 MB, free: 4.254 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.004373, allocations: 91.25 kB / 254.7 MB, free: 4.164 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.004619, allocations: 99.8 kB / 254.8 MB, free: 4.066 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003073/0.004926, allocations: 370.2 kB / 255.2 MB, free: 3.703 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.005079, allocations: 60.83 kB / 255.2 MB, free: 3.641 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.005275, allocations: 207.5 kB / 255.4 MB, free: 3.438 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.005406, allocations: 107.7 kB / 255.5 MB, free: 3.332 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.071e-05/0.005446, allocations: 32 kB / 255.6 MB, free: 3.301 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.026e-05/0.005477, allocations: 28 kB / 255.6 MB, free: 3.273 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.393e-05/0.005531, allocations: 71.69 kB / 255.7 MB, free: 3.203 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.877e-05/0.005629, allocations: 103.8 kB / 255.8 MB, free: 3.102 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.005858, allocations: 219.2 kB / 256 MB, free: 2.887 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.005861, allocations: 0 / 256 MB, free: 2.887 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005861, allocations: 4 kB / 256 MB, free: 2.883 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.005866, allocations: 0 / 256 MB, free: 2.883 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007462/0.006612, allocations: 0.6429 MB / 256.6 MB, free: 2.199 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.006645, allocations: 15.98 kB / 256.6 MB, free: 2.184 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.887e-05/0.006714, allocations: 44.75 kB / 256.7 MB, free: 2.141 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.00695, allocations: 228 kB / 256.9 MB, free: 1.891 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.006965, allocations: 12.88 kB / 256.9 MB, free: 1.879 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.006992, allocations: 24.38 kB / 256.9 MB, free: 1.855 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.007296, allocations: 240.7 kB / 257.2 MB, free: 1.594 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.007305, allocations: 192 / 257.2 MB, free: 1.594 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.007323, allocations: 8.375 kB / 257.2 MB, free: 1.586 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.007333, allocations: 7.938 kB / 257.2 MB, free: 1.578 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.007479, allocations: 86.94 kB / 257.3 MB, free: 1.492 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008313/0.008311, allocations: 0.7542 MB / 258 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.008535, allocations: 119.2 kB / 258.2 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.108e-05/0.008596, allocations: 39.61 kB / 258.2 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.008614, allocations: 4 kB / 258.2 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.008779, allocations: 183.4 kB / 258.4 MB, free: 296 kB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.00878, allocations: 0 / 258.4 MB, free: 296 kB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007042/0.009484, allocations: 324.9 kB / 258.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.009532, allocations: 106.8 kB / 258.8 MB, free: 15.83 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.009721, allocations: 304.2 kB / 259.1 MB, free: 15.52 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.009739, allocations: 25.7 kB / 259.1 MB, free: 15.49 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.009846, allocations: 230.9 kB / 259.3 MB, free: 15.26 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.009874, allocations: 39.69 kB / 259.4 MB, free: 15.22 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.959e-05/0.009933, allocations: 55.31 kB / 259.4 MB, free: 15.16 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.01006, allocations: 0.4962 MB / 259.9 MB, free: 14.65 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.583e-05/0.01014, allocations: 69.36 kB / 260 MB, free: 14.57 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.01028, allocations: 225.5 kB / 260.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.01044, allocations: 186.3 kB / 260.4 MB, free: 14.06 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01044, allocations: 0 / 260.4 MB, free: 14.06 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003683/0.01081, allocations: 312.3 kB / 260.7 MB, free: 13.73 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.01084, allocations: 33.69 kB / 260.7 MB, free: 13.7 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.01084, allocations: 4 kB / 260.7 MB, free: 13.69 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002934/0.01114, allocations: 87.75 kB / 260.8 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.041e-05/0.01123, allocations: 40.2 kB / 260.9 MB, free: 13.56 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.0125, allocations: 2.168 MB / 263 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.01263, allocations: 43.77 kB / 263.1 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.01264, allocations: 12.06 kB / 263.1 MB, free: 11.21 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001171/0.01276, allocations: 192.5 kB / 263.3 MB, free: 11.02 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000129/0.01289, allocations: 217.6 kB / 263.5 MB, free: 10.74 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001546/0.01304, allocations: 174.8 kB / 263.7 MB, free: 10.52 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.01304, allocations: 0 / 263.7 MB, free: 10.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002692/0.01331, allocations: 268.5 kB / 263.9 MB, free: 10.24 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.01334, allocations: 44.97 kB / 264 MB, free: 10.19 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.01334, allocations: 0 / 264 MB, free: 10.19 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001083/0.01345, allocations: 35.66 kB / 264 MB, free: 10.15 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.829e-05/0.01354, allocations: 39.98 kB / 264 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007838/0.01432, allocations: 1.775 MB / 265.8 MB, free: 8.219 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.01444, allocations: 31.94 kB / 265.9 MB, free: 8.188 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.01445, allocations: 11.98 kB / 265.9 MB, free: 8.176 MB / 250.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: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.01456, allocations: 284 kB / 266.1 MB, free: 7.891 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.01459, allocations: 27.86 kB / 266.2 MB, free: 7.863 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.658e-05/0.01461, allocations: 25.77 kB / 266.2 MB, free: 7.836 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.01461, allocations: 4.031 kB / 266.2 MB, free: 7.832 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.01462, allocations: 0 / 266.2 MB, free: 7.832 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01462, allocations: 4 kB / 266.2 MB, free: 7.828 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.01476, allocations: 200.5 kB / 266.4 MB, free: 7.598 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01477, allocations: 3.938 kB / 266.4 MB, free: 7.594 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.01481, allocations: 15.98 kB / 266.4 MB, free: 7.578 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001889/0.015, allocations: 71.64 kB / 266.5 MB, free: 7.504 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.01501, allocations: 11.98 kB / 266.5 MB, free: 7.492 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.01609, allocations: 2.133 MB / 268.6 MB, free: 5.234 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01609, allocations: 0 / 268.6 MB, free: 5.234 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.0164, allocations: 223.7 kB / 268.9 MB, free: 4.992 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.01643, allocations: 19.86 kB / 268.9 MB, free: 4.973 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.01645, allocations: 8.031 kB / 268.9 MB, free: 4.965 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.691e-05/0.01655, allocations: 23.97 kB / 268.9 MB, free: 4.941 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.01661, allocations: 15.97 kB / 268.9 MB, free: 4.926 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.01662, allocations: 8 kB / 268.9 MB, free: 4.918 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.01674, allocations: 213 kB / 269.1 MB, free: 4.711 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01674, allocations: 0 / 269.1 MB, free: 4.711 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003424/0.01709, allocations: 123.8 kB / 269.3 MB, free: 4.59 MB / 250.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: 3 ($whenCondition1,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 (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 9.437e-05/0.01718, allocations: 103.2 kB / 269.4 MB, free: 4.477 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006659/0.01785, allocations: 0.7155 MB / 270.1 MB, free: 3.684 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01785, allocations: 320 / 270.1 MB, free: 3.684 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.01801, allocations: 237.4 kB / 270.3 MB, free: 3.43 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.01822, allocations: 56.45 kB / 270.4 MB, free: 3.375 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.01986, allocations: 0.663 MB / 271 MB, free: 2.684 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.94e-05/0.01991, allocations: 84.62 kB / 271.1 MB, free: 2.582 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.578e-05/0.01999, allocations: 25.95 kB / 271.1 MB, free: 2.559 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.429e-05/0.02003, allocations: 20.5 kB / 271.1 MB, free: 2.535 MB / 250.7 MB Notification: Performance of SimCode: time 1.042e-06/0.02003, allocations: 0 / 271.1 MB, free: 2.535 MB / 250.7 MB Notification: Performance of Templates: time 0.006745/0.02678, allocations: 4.252 MB / 275.4 MB, free: 14.3 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.030154979787767]