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.001679/0.001679, allocations: 114.2 kB / 19.04 MB, free: 3.281 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.001882/0.001882, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 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.429/1.429, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.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 0.001459/0.001459, allocations: 55.92 kB / 368.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2611, allocations: 52.13 MB / 420.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004625/0.2657, allocations: 2.799 MB / 423.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.2671, allocations: 0.6739 MB / 424.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.2673, allocations: 4 kB / 424.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.2674, allocations: 47.56 kB / 424.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.2677, allocations: 103.2 kB / 424.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.268, allocations: 83.89 kB / 424.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000476/0.2685, allocations: 366.5 kB / 425 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.2686, allocations: 60.72 kB / 425 MB, free: 11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.2688, allocations: 135.5 kB / 425.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.269, allocations: 147.4 kB / 425.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.603e-05/0.2691, allocations: 28 kB / 425.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.641e-05/0.2692, allocations: 31.94 kB / 425.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.117e-05/0.2692, allocations: 63.77 kB / 425.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.2694, allocations: 139.3 kB / 425.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004143/0.2698, allocations: 331.9 kB / 425.9 MB, free: 10.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2698, allocations: 3.938 kB / 425.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2698, allocations: 0 / 425.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.2698, allocations: 0 / 425.9 MB, free: 10.14 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.001339/0.2711, allocations: 0.6455 MB / 426.5 MB, free: 9.445 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.2712, allocations: 15.83 kB / 426.5 MB, free: 9.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.124e-05/0.2713, allocations: 32.75 kB / 426.6 MB, free: 9.398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.2717, allocations: 283.8 kB / 426.8 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.2718, allocations: 16.8 kB / 426.9 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.2718, allocations: 24.38 kB / 426.9 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006588/0.2725, allocations: 274.1 kB / 427.2 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.2725, allocations: 3.938 kB / 427.2 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.2725, allocations: 7.984 kB / 427.2 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.2725, allocations: 8 kB / 427.2 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006926/0.2732, allocations: 241.6 kB / 427.4 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.2748, allocations: 0.9483 MB / 428.4 MB, free: 7.484 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008344/0.2756, allocations: 234.5 kB / 428.6 MB, free: 7.246 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.276, allocations: 96.72 kB / 428.7 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.276, allocations: 0 / 428.7 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004482/0.2764, allocations: 185.8 kB / 428.9 MB, free: 6.945 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.2764, allocations: 0 / 428.9 MB, free: 6.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002304/0.2787, allocations: 0.6552 MB / 429.5 MB, free: 6.262 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.084e-05/0.2788, allocations: 110.8 kB / 429.6 MB, free: 6.129 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.2792, allocations: 266.6 kB / 429.9 MB, free: 5.863 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.2792, allocations: 33.7 kB / 429.9 MB, free: 5.824 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.2793, allocations: 180.2 kB / 430.1 MB, free: 5.645 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/0.2794, allocations: 51.56 kB / 430.1 MB, free: 5.594 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.052e-05/0.2795, allocations: 49.64 kB / 430.2 MB, free: 5.539 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.2797, allocations: 339 kB / 430.5 MB, free: 5.199 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/0.28, allocations: 103.9 kB / 430.6 MB, free: 5.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.2804, allocations: 182.2 kB / 430.8 MB, free: 4.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006804/0.2811, allocations: 278.1 kB / 431.1 MB, free: 4.574 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2811, allocations: 4 kB / 431.1 MB, free: 4.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001237/0.2823, allocations: 447.7 kB / 431.5 MB, free: 4.117 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.2824, allocations: 33.77 kB / 431.6 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2824, allocations: 4 kB / 431.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003758/0.2828, allocations: 80.8 kB / 431.6 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.283, allocations: 39.91 kB / 431.7 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003155/0.2861, allocations: 2.009 MB / 433.7 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.2865, allocations: 51.8 kB / 433.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.2865, allocations: 11.94 kB / 433.7 MB, free: 1.742 MB / 334.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.0001891/0.2867, allocations: 138.2 kB / 433.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.2867, allocations: 23.86 kB / 433.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.629e-05/0.2868, allocations: 37.95 kB / 433.9 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.2868, allocations: 0 / 433.9 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2868, allocations: 4 kB / 433.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2868, allocations: 0 / 433.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.2872, allocations: 289.4 kB / 434.2 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2872, allocations: 0 / 434.2 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.2873, allocations: 23.91 kB / 434.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003233/0.2876, allocations: 80.8 kB / 434.3 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.2877, allocations: 3.938 kB / 434.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002756/0.2904, allocations: 1.916 MB / 436.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2904, allocations: 3.984 kB / 436.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.2915, allocations: 367.9 kB / 436.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.662e-05/0.2916, allocations: 96.91 kB / 436.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.2916, allocations: 8.125 kB / 436.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.2919, allocations: 39.95 kB / 436.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.306e-05/0.292, allocations: 23.97 kB / 436.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.292, allocations: 0 / 436.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002134/0.2922, allocations: 190 kB / 437 MB, free: 14.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2922, allocations: 0 / 437 MB, free: 14.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004158/0.2926, allocations: 75.89 kB / 437 MB, free: 14.21 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.0001856/0.2928, allocations: 111.2 kB / 437.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.2941, allocations: 473.8 kB / 437.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.2941, allocations: 0 / 437.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.2946, allocations: 238.9 kB / 437.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.2949, allocations: 43.86 kB / 437.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.2979, allocations: 0.9054 MB / 438.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.2983, allocations: 0.744 MB / 439.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000101/0.2984, allocations: 18.3 kB / 439.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.292e-05/0.2985, allocations: 31.36 kB / 439.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2985, allocations: 0 / 439.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of Templates: time 0.008562/0.307, allocations: 3.935 MB / 443.5 MB, free: 7.664 MB / 350.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.5684516271576285]