Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009527/0.0009527, allocations: 82.17 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009867/0.0009867, allocations: 149.7 kB / 24.81 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.069/1.069, allocations: 173.3 MB / 201.4 MB, free: 9.227 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 268.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.744e-05, allocations: 6.25 kB / 268.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003147/0.003174, allocations: 2.751 MB / 271.2 MB, free: 3.398 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009601/0.004134, allocations: 0.6582 MB / 271.9 MB, free: 2.734 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.004254, allocations: 4 kB / 271.9 MB, free: 2.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.00439, allocations: 39.58 kB / 271.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.004541, allocations: 107.1 kB / 272 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.004772, allocations: 91.81 kB / 272.1 MB, free: 2.496 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003027/0.005075, allocations: 370.3 kB / 272.5 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.005218, allocations: 56.88 kB / 272.5 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.005411, allocations: 195.6 kB / 272.7 MB, free: 1.883 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.005542, allocations: 115.6 kB / 272.8 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.823e-05/0.00559, allocations: 36 kB / 272.9 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.555e-05/0.005625, allocations: 28 kB / 272.9 MB, free: 1.707 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.887e-05/0.005674, allocations: 63.75 kB / 272.9 MB, free: 1.645 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.672e-05/0.005761, allocations: 107.7 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.005981, allocations: 219.2 kB / 273.3 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.005983, allocations: 0 / 273.3 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.005984, allocations: 0 / 273.3 MB, free: 1.324 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.005988, allocations: 3.938 kB / 273.3 MB, free: 1.32 MB / 250.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.0007098/0.006698, allocations: 0.6468 MB / 273.9 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.006732, allocations: 12.02 kB / 273.9 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.202e-05/0.006794, allocations: 44.75 kB / 274 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.006998, allocations: 216.1 kB / 274.2 MB, free: 348 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.007015, allocations: 16.88 kB / 274.2 MB, free: 328 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.007038, allocations: 24.36 kB / 274.2 MB, free: 304 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.007314, allocations: 265 kB / 274.5 MB, free: 8 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.007324, allocations: 4.125 kB / 274.5 MB, free: 4 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.007355, allocations: 12.42 kB / 274.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.007362, allocations: 7.938 kB / 274.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.094e-05/0.007453, allocations: 67.39 kB / 274.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008293/0.008282, allocations: 0.8818 MB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.008463, allocations: 107.1 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.747e-05/0.008511, allocations: 35.66 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.00853, allocations: 8 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.008682, allocations: 171.5 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.008683, allocations: 3.938 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005995/0.009283, allocations: 299.8 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.009328, allocations: 106.8 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.009519, allocations: 300.1 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.009538, allocations: 29.7 kB / 276.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.556e-05/0.009633, allocations: 234.8 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.009659, allocations: 47.62 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.009717, allocations: 51.34 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.00984, allocations: 0.5001 MB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.656e-05/0.009897, allocations: 57.67 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.01001, allocations: 209.3 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.01014, allocations: 193 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.01015, allocations: 4 kB / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000327/0.01047, allocations: 292.3 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.01051, allocations: 33.7 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01051, allocations: 4 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002365/0.01075, allocations: 79.81 kB / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.01084, allocations: 35.92 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.01196, allocations: 2.142 MB / 280.3 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.01209, allocations: 43.89 kB / 280.4 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.0121, allocations: 8 kB / 280.4 MB, free: 9.621 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 19 * 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 9.812e-05/0.0122, allocations: 172.5 kB / 280.6 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.01223, allocations: 27.98 kB / 280.6 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.01225, allocations: 25.77 kB / 280.6 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.01226, allocations: 4 kB / 280.6 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.01226, allocations: 224 / 280.6 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01226, allocations: 0 / 280.6 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.0124, allocations: 192.9 kB / 280.8 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.0124, allocations: 0 / 280.8 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.587e-05/0.01245, allocations: 15.98 kB / 280.8 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001781/0.01262, allocations: 71.62 kB / 280.9 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.01263, allocations: 4 kB / 280.9 MB, free: 9.074 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.01365, allocations: 2.091 MB / 283 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01365, allocations: 0 / 283 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.01388, allocations: 195.8 kB / 283.2 MB, free: 6.656 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.68e-05/0.0139, allocations: 31.78 kB / 283.2 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.01392, allocations: 4 kB / 283.2 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.259e-05/0.014, allocations: 23.97 kB / 283.2 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.01405, allocations: 23.94 kB / 283.3 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.01406, allocations: 4 kB / 283.3 MB, free: 6.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.288e-05/0.01414, allocations: 197.1 kB / 283.5 MB, free: 6.379 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01414, allocations: 0 / 283.5 MB, free: 6.379 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002547/0.0144, allocations: 71.89 kB / 283.5 MB, free: 6.309 MB / 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: 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 0.0001055/0.0145, allocations: 107.3 kB / 283.6 MB, free: 6.191 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003931/0.0149, allocations: 406.3 kB / 284 MB, free: 5.754 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.0149, allocations: 0 / 284 MB, free: 5.754 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.01505, allocations: 228.8 kB / 284.3 MB, free: 5.512 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.01529, allocations: 51.67 kB / 284.3 MB, free: 5.465 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.01676, allocations: 0.6628 MB / 285 MB, free: 4.773 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.704e-05/0.01681, allocations: 80.33 kB / 285 MB, free: 4.676 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.798e-05/0.01688, allocations: 22.28 kB / 285.1 MB, free: 4.656 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.01701, allocations: 122.2 kB / 285.2 MB, free: 4.535 MB / 266.7 MB Notification: Performance of SimCode: time 1.272e-06/0.01701, allocations: 0 / 285.2 MB, free: 4.535 MB / 266.7 MB Notification: Performance of Templates: time 0.006407/0.02342, allocations: 4.121 MB / 289.3 MB, free: 492 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 2.8152323490940034]