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.001296/0.001296, allocations: 78.88 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001455/0.001455, allocations: 151.2 kB / 23.94 MB, free: 4.176 MB / 14.72 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.448/1.448, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] 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.653e-06/1.653e-06, allocations: 0 / 319 MB, free: 3.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.862e-05/3.028e-05, allocations: 6.219 kB / 319 MB, free: 3.523 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003475/0.003505, allocations: 2.584 MB / 321.6 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.004682, allocations: 0.6419 MB / 322.2 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.004844, allocations: 3.469 kB / 322.2 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.005002, allocations: 48.31 kB / 322.2 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.005201, allocations: 98.22 kB / 322.3 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.005503, allocations: 97.2 kB / 322.4 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003811/0.005884, allocations: 365.8 kB / 322.8 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.006063, allocations: 65.81 kB / 322.9 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002777/0.00634, allocations: 200.3 kB / 323.1 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.006532, allocations: 111.5 kB / 323.2 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.079e-05/0.006593, allocations: 30 kB / 323.2 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.697e-05/0.00665, allocations: 28.91 kB / 323.2 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.355e-05/0.006713, allocations: 67.8 kB / 323.3 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.006864, allocations: 102 kB / 323.4 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004295/0.007293, allocations: 341.8 kB / 323.7 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.007298, allocations: 0 / 323.7 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.011e-06/0.007299, allocations: 0 / 323.7 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.007305, allocations: 5.781 kB / 323.7 MB, free: 0.5859 MB / 286.1 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.001209/0.008514, allocations: 0.5598 MB / 324.3 MB, free: 168 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.008552, allocations: 13.62 kB / 324.3 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.074e-05/0.008633, allocations: 32.48 kB / 324.3 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/0.009042, allocations: 222.7 kB / 324.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.009068, allocations: 18.5 kB / 324.6 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.009105, allocations: 17.55 kB / 324.6 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007804/0.009886, allocations: 336.6 kB / 324.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.009899, allocations: 1.125 kB / 324.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.009938, allocations: 14.5 kB / 324.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.009947, allocations: 5.562 kB / 324.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008536/0.0108, allocations: 243.6 kB / 325.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.01252, allocations: 0.8084 MB / 326 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009125/0.01343, allocations: 233.3 kB / 326.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.01379, allocations: 94.75 kB / 326.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.01382, allocations: 3.266 kB / 326.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005636/0.01438, allocations: 234.4 kB / 326.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.01438, allocations: 0 / 326.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002603/0.01699, allocations: 0.5752 MB / 327.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.01709, allocations: 110.4 kB / 327.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.01745, allocations: 257 kB / 327.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/0.01749, allocations: 31.55 kB / 327.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.01766, allocations: 187.7 kB / 327.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/0.0177, allocations: 44.97 kB / 327.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.0178, allocations: 46.55 kB / 327.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.01797, allocations: 337.9 kB / 328.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004025/0.01838, allocations: 130.2 kB / 328.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004892/0.01887, allocations: 256.8 kB / 328.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007544/0.01962, allocations: 287.7 kB / 328.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.01963, allocations: 2.438 kB / 328.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001315/0.02094, allocations: 469.7 kB / 329.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.961e-05/0.02099, allocations: 37.59 kB / 329.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.021, allocations: 10.06 kB / 329.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003971/0.0214, allocations: 77.55 kB / 329.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.02161, allocations: 47.89 kB / 329.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003183/0.02479, allocations: 1.862 MB / 331.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004044/0.0252, allocations: 55.11 kB / 331.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.02523, allocations: 11.8 kB / 331.3 MB, free: 11.58 MB / 302.1 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 0.0002007/0.02543, allocations: 140.9 kB / 331.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.02547, allocations: 22.52 kB / 331.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.25e-05/0.02552, allocations: 26.67 kB / 331.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.02553, allocations: 2.344 kB / 331.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.02553, allocations: 0.6562 kB / 331.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.02554, allocations: 4.547 kB / 331.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.02582, allocations: 196 kB / 331.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.02582, allocations: 3.938 kB / 331.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.02597, allocations: 21.64 kB / 331.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003157/0.02628, allocations: 78.92 kB / 331.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.0263, allocations: 1.734 kB / 331.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002794/0.0291, allocations: 1.796 MB / 333.6 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.0291, allocations: 1.344 kB / 333.6 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.03034, allocations: 359.1 kB / 334 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.0304, allocations: 30.44 kB / 334 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.03044, allocations: 5.281 kB / 334 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.03071, allocations: 32.09 kB / 334 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.577e-05/0.0308, allocations: 26.64 kB / 334 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.03082, allocations: 2.281 kB / 334 MB, free: 9.496 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002298/0.03105, allocations: 184.4 kB / 334.2 MB, free: 9.371 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03105, allocations: 0 / 334.2 MB, free: 9.371 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004901/0.03154, allocations: 74.67 kB / 334.3 MB, free: 9.355 MB / 302.1 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.0001665/0.0317, allocations: 112.3 kB / 334.4 MB, free: 9.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.03311, allocations: 0.4949 MB / 334.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.03312, allocations: 448 / 334.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005266/0.03364, allocations: 234.6 kB / 335.1 MB, free: 8.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.03399, allocations: 39.12 kB / 335.2 MB, free: 8.711 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/0.03716, allocations: 0.8808 MB / 336.1 MB, free: 8.258 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.0373, allocations: 136.9 kB / 336.2 MB, free: 8.148 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.03741, allocations: 22.67 kB / 336.2 MB, free: 8.137 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/0.03747, allocations: 19.5 kB / 336.2 MB, free: 8.129 MB / 302.1 MB Notification: Performance of SimCode: time 7.41e-07/0.03747, allocations: 4 kB / 336.2 MB, free: 8.125 MB / 302.1 MB Notification: Performance of Templates: time 0.008512/0.04598, allocations: 3.806 MB / 340 MB, free: 5.891 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.4514035284519196]