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.001676/0.001676, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001842/0.001842, allocations: 185 kB / 24.46 MB, free: 3.863 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.522/1.522, allocations: 225.7 MB / 253.3 MB, free: 12.86 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.001649/0.001649, allocations: 47.92 kB / 371.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2572, allocations: 52.17 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004121/0.2613, allocations: 2.6 MB / 426.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2626, allocations: 0.6466 MB / 427.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.2627, allocations: 7.938 kB / 427.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.2629, allocations: 43.52 kB / 427.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.2631, allocations: 99.23 kB / 427.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.2633, allocations: 95.83 kB / 427.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004242/0.2638, allocations: 358.5 kB / 427.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.2639, allocations: 52.91 kB / 427.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.2641, allocations: 131.5 kB / 427.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.2643, allocations: 139.4 kB / 428 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.377e-05/0.2643, allocations: 28 kB / 428 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.658e-05/0.2644, allocations: 28 kB / 428.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.766e-05/0.2645, allocations: 67.7 kB / 428.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.2646, allocations: 123.4 kB / 428.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.265, allocations: 325.6 kB / 428.6 MB, free: 9.754 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.265, allocations: 0 / 428.6 MB, free: 9.754 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.265, allocations: 3.938 kB / 428.6 MB, free: 9.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.265, allocations: 0 / 428.6 MB, free: 9.75 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.001286/0.2663, allocations: 0.5733 MB / 429.1 MB, free: 9.145 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.2663, allocations: 8.031 kB / 429.1 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.658e-05/0.2664, allocations: 36.73 kB / 429.2 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.2668, allocations: 226 kB / 429.4 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.2669, allocations: 12.81 kB / 429.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.2669, allocations: 20.38 kB / 429.4 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006774/0.2676, allocations: 337.4 kB / 429.8 MB, free: 8.469 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2676, allocations: 0 / 429.8 MB, free: 8.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.2676, allocations: 4 kB / 429.8 MB, free: 8.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.2676, allocations: 8 kB / 429.8 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007472/0.2684, allocations: 249.5 kB / 430 MB, free: 8.211 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.2699, allocations: 0.8088 MB / 430.8 MB, free: 7.352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008294/0.2707, allocations: 226.6 kB / 431.1 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/0.2711, allocations: 96.78 kB / 431.1 MB, free: 7.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.2711, allocations: 0 / 431.1 MB, free: 7.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004902/0.2716, allocations: 229.4 kB / 431.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.2716, allocations: 7.938 kB / 431.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002319/0.2739, allocations: 0.5819 MB / 432 MB, free: 6.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/0.274, allocations: 102.8 kB / 432.1 MB, free: 6.043 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.2743, allocations: 265 kB / 432.3 MB, free: 5.773 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.2743, allocations: 33.7 kB / 432.4 MB, free: 5.734 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.2745, allocations: 184.1 kB / 432.5 MB, free: 5.551 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.2745, allocations: 43.67 kB / 432.6 MB, free: 5.508 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.534e-05/0.2746, allocations: 45.66 kB / 432.6 MB, free: 5.457 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2748, allocations: 346.8 kB / 433 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.2751, allocations: 121.6 kB / 433.1 MB, free: 4.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004539/0.2756, allocations: 267.1 kB / 433.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007385/0.2763, allocations: 286.1 kB / 433.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.2763, allocations: 0 / 433.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001259/0.2776, allocations: 480.5 kB / 434.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.986e-05/0.2776, allocations: 41.64 kB / 434.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2776, allocations: 4 kB / 434.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003755/0.278, allocations: 76.86 kB / 434.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.2782, allocations: 51.91 kB / 434.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/0.2814, allocations: 1.857 MB / 436.1 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.2817, allocations: 59.8 kB / 436.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.2817, allocations: 8 kB / 436.2 MB, free: 1.656 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.0001758/0.2819, allocations: 137.8 kB / 436.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.2819, allocations: 27.89 kB / 436.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.897e-05/0.282, allocations: 21.77 kB / 436.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.282, allocations: 4 kB / 436.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.282, allocations: 3.938 kB / 436.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.282, allocations: 0 / 436.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.2822, allocations: 197.2 kB / 436.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2822, allocations: 4 kB / 436.6 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.2824, allocations: 27.97 kB / 436.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002674/0.2827, allocations: 64.94 kB / 436.7 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.2827, allocations: 11.98 kB / 436.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002499/0.2852, allocations: 1.785 MB / 438.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2852, allocations: 3.938 kB / 438.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.2863, allocations: 361.6 kB / 438.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.2863, allocations: 19.86 kB / 438.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.017e-05/0.2863, allocations: 11.92 kB / 438.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.2866, allocations: 27.97 kB / 438.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/0.2867, allocations: 19.97 kB / 438.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.2867, allocations: 4 kB / 438.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000202/0.2869, allocations: 188.5 kB / 439.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2869, allocations: 4 kB / 439.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004093/0.2873, allocations: 75.83 kB / 439.2 MB, free: 14.52 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.0001263/0.2874, allocations: 99.25 kB / 439.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.2888, allocations: 0.4917 MB / 439.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2888, allocations: 0 / 439.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004959/0.2893, allocations: 222.5 kB / 440 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.2896, allocations: 60.98 kB / 440 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003124/0.2928, allocations: 0.9193 MB / 440.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.2929, allocations: 142.1 kB / 441.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.923e-05/0.293, allocations: 19.44 kB / 441.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of SimCode: time 7.31e-07/0.293, allocations: 0 / 441.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of Templates: time 0.007077/0.3, allocations: 4.232 MB / 445.3 MB, free: 8.238 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins1/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: 7.596061170101166]