Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.00152/0.00152, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001629/0.001629, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.684/1.684, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 51.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3633, allocations: 53.37 MB / 432.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.005864/0.3692, allocations: 2.617 MB / 435 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.371, allocations: 0.67 MB / 435.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.3712, allocations: 4 kB / 435.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.3714, allocations: 47.56 kB / 435.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.3717, allocations: 95.25 kB / 435.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.3721, allocations: 91.83 kB / 435.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005551/0.3726, allocations: 358.5 kB / 436.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002512/0.3729, allocations: 56.91 kB / 436.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.3731, allocations: 143.4 kB / 436.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.3734, allocations: 147.4 kB / 436.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.971e-05/0.3735, allocations: 28 kB / 436.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.794e-05/0.3735, allocations: 32 kB / 436.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.314e-05/0.3736, allocations: 63.7 kB / 436.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.3738, allocations: 131.4 kB / 436.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005968/0.3744, allocations: 317.6 kB / 437.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/0.3744, allocations: 7.984 kB / 437.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.689e-06/0.3744, allocations: 3.938 kB / 437.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.3744, allocations: 0 / 437.1 MB, free: 1.895 MB / 334.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.001778/0.3762, allocations: 0.5741 MB / 437.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.3763, allocations: 8.031 kB / 437.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.3764, allocations: 32.75 kB / 437.8 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005519/0.3769, allocations: 221.9 kB / 438 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.377, allocations: 16.81 kB / 438 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.377, allocations: 16.38 kB / 438 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008051/0.3778, allocations: 341.5 kB / 438.3 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.3778, allocations: 0 / 438.3 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.3779, allocations: 12 kB / 438.4 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.3779, allocations: 7.938 kB / 438.4 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007848/0.3787, allocations: 241.6 kB / 438.6 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.3805, allocations: 0.801 MB / 439.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000929/0.3814, allocations: 238.5 kB / 439.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.3818, allocations: 100.8 kB / 439.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.3818, allocations: 0 / 439.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005867/0.3824, allocations: 233.4 kB / 440 MB, free: 14.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.3824, allocations: 3.938 kB / 440 MB, free: 14.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002424/0.3848, allocations: 0.576 MB / 440.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.385, allocations: 102.8 kB / 440.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.3854, allocations: 260.9 kB / 440.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.3854, allocations: 29.7 kB / 440.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.3856, allocations: 180.2 kB / 441.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.3856, allocations: 39.64 kB / 441.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.3857, allocations: 49.7 kB / 441.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.386, allocations: 338.8 kB / 441.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003934/0.3863, allocations: 125.6 kB / 441.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005067/0.3869, allocations: 249.6 kB / 441.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007176/0.3876, allocations: 267.2 kB / 442.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.3876, allocations: 4 kB / 442.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001274/0.3889, allocations: 457.4 kB / 442.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.363e-05/0.3889, allocations: 37.64 kB / 442.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.3889, allocations: 4 kB / 442.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004513/0.3894, allocations: 72.8 kB / 442.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.3896, allocations: 47.97 kB / 442.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/0.3928, allocations: 1.82 MB / 444.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.3931, allocations: 43.86 kB / 444.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.3931, allocations: 8 kB / 444.6 MB, free: 9.945 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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.0002108/0.3934, allocations: 145.7 kB / 444.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.3934, allocations: 23.86 kB / 444.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.721e-05/0.3935, allocations: 21.91 kB / 444.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3935, allocations: 0 / 444.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3935, allocations: 12 kB / 444.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3935, allocations: 7.984 kB / 444.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.3938, allocations: 189.2 kB / 445 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3938, allocations: 0 / 445 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.3939, allocations: 23.97 kB / 445 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002848/0.3942, allocations: 80.8 kB / 445.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.3942, allocations: 0 / 445.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002587/0.3968, allocations: 1.628 MB / 446.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.3968, allocations: 4 kB / 446.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.3979, allocations: 357.6 kB / 447.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.093e-05/0.398, allocations: 27.78 kB / 447.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.398, allocations: 7.938 kB / 447.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.3983, allocations: 31.95 kB / 447.2 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.3984, allocations: 27.97 kB / 447.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.3984, allocations: 11.88 kB / 447.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002246/0.3986, allocations: 180.4 kB / 447.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3986, allocations: 0 / 447.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004376/0.3991, allocations: 71.89 kB / 447.4 MB, free: 6.949 MB / 350.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.0002133/0.3993, allocations: 99.25 kB / 447.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.4004, allocations: 433.6 kB / 448 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4004, allocations: 0 / 448 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005227/0.4009, allocations: 234.9 kB / 448.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.4013, allocations: 46.95 kB / 448.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.4026, allocations: 455.7 kB / 448.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.4028, allocations: 138.2 kB / 448.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.4029, allocations: 17.95 kB / 448.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.428e-05/0.4029, allocations: 27.38 kB / 448.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of SimCode: time 1.383e-06/0.4029, allocations: 0 / 448.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of Templates: time 0.009938/0.4129, allocations: 4.148 MB / 453 MB, free: 1.344 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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: 5.239408155990532]