Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.001861/0.001861, allocations: 113 kB / 19.04 MB, free: 3.254 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.002024/0.002024, allocations: 197.9 kB / 22.22 MB, free: 72 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.495/1.495, allocations: 225.6 MB / 250.8 MB, free: 13.33 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.SchmittTrigger,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.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 51.92 kB / 368.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2609, allocations: 52.15 MB / 420.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004214/0.2651, allocations: 2.787 MB / 423.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.2665, allocations: 0.6739 MB / 424.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.2666, allocations: 7.938 kB / 424.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.2668, allocations: 47.56 kB / 424.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.267, allocations: 87.27 kB / 424.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.2673, allocations: 95.81 kB / 424.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004042/0.2677, allocations: 354.5 kB / 424.9 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.2678, allocations: 64.7 kB / 425 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.268, allocations: 127.5 kB / 425.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.2682, allocations: 155.4 kB / 425.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.792e-05/0.2682, allocations: 28 kB / 425.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.818e-05/0.2683, allocations: 28 kB / 425.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.304e-05/0.2683, allocations: 71.69 kB / 425.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.2685, allocations: 143.3 kB / 425.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.2689, allocations: 323.9 kB / 425.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2689, allocations: 4 kB / 425.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2689, allocations: 0 / 425.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.2689, allocations: 0 / 425.9 MB, free: 10.09 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.001273/0.2702, allocations: 0.6494 MB / 426.5 MB, free: 9.387 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.2702, allocations: 8.031 kB / 426.5 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.112e-05/0.2703, allocations: 32.75 kB / 426.6 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.2707, allocations: 283.7 kB / 426.8 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.2707, allocations: 20.81 kB / 426.9 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.2707, allocations: 20.38 kB / 426.9 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.2714, allocations: 274.1 kB / 427.1 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.2715, allocations: 4 kB / 427.2 MB, free: 8.707 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.2715, allocations: 8 kB / 427.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2715, allocations: 8 kB / 427.2 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007341/0.2722, allocations: 249.4 kB / 427.4 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.2739, allocations: 0.9483 MB / 428.4 MB, free: 7.426 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008522/0.2747, allocations: 234.6 kB / 428.6 MB, free: 7.188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/0.275, allocations: 96.78 kB / 428.7 MB, free: 7.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.2751, allocations: 4 kB / 428.7 MB, free: 7.086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004704/0.2755, allocations: 181.7 kB / 428.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.2755, allocations: 0 / 428.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002352/0.2779, allocations: 0.6513 MB / 429.5 MB, free: 6.207 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.152e-05/0.278, allocations: 106.8 kB / 429.6 MB, free: 6.078 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.2783, allocations: 274.5 kB / 429.9 MB, free: 5.805 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.2783, allocations: 29.7 kB / 429.9 MB, free: 5.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.2785, allocations: 172.2 kB / 430.1 MB, free: 5.598 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.2785, allocations: 43.64 kB / 430.1 MB, free: 5.555 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.989e-05/0.2786, allocations: 45.7 kB / 430.2 MB, free: 5.504 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2788, allocations: 330.8 kB / 430.5 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.2791, allocations: 107.9 kB / 430.6 MB, free: 5.066 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.2795, allocations: 172.1 kB / 430.8 MB, free: 4.871 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006739/0.2802, allocations: 260.4 kB / 431 MB, free: 4.586 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2802, allocations: 3.938 kB / 431 MB, free: 4.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001223/0.2814, allocations: 439.6 kB / 431.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/0.2814, allocations: 33.7 kB / 431.5 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.2814, allocations: 4 kB / 431.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003949/0.2818, allocations: 80.86 kB / 431.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.282, allocations: 39.91 kB / 431.6 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002773/0.2848, allocations: 1.951 MB / 433.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/0.2851, allocations: 55.73 kB / 433.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.2852, allocations: 8 kB / 433.6 MB, free: 1.82 MB / 334.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.0001621/0.2853, allocations: 141.8 kB / 433.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.2854, allocations: 23.86 kB / 433.8 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.941e-05/0.2854, allocations: 29.83 kB / 433.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.2854, allocations: 4.031 kB / 433.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2854, allocations: 4 kB / 433.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2854, allocations: 4 kB / 433.8 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.2857, allocations: 289.5 kB / 434.1 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2857, allocations: 0 / 434.1 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.2859, allocations: 23.97 kB / 434.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002767/0.2862, allocations: 76.81 kB / 434.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.2862, allocations: 7.922 kB / 434.2 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002555/0.2887, allocations: 1.754 MB / 436 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.2887, allocations: 4 kB / 436 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.2898, allocations: 353 kB / 436.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.533e-05/0.2899, allocations: 108.9 kB / 436.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.2899, allocations: 3.938 kB / 436.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.2902, allocations: 39.95 kB / 436.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.927e-05/0.2903, allocations: 15.98 kB / 436.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.2903, allocations: 7.984 kB / 436.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002134/0.2905, allocations: 190 kB / 436.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2905, allocations: 0 / 436.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003764/0.2909, allocations: 71.89 kB / 436.7 MB, free: 14.45 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.0001529/0.291, allocations: 108 kB / 436.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009787/0.292, allocations: 405.8 kB / 437.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.292, allocations: 0 / 437.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004794/0.2925, allocations: 234.5 kB / 437.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.2928, allocations: 47.92 kB / 437.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.2938, allocations: 459 kB / 438 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.2942, allocations: 0.744 MB / 438.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.2943, allocations: 30.27 kB / 438.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.341e-05/0.2944, allocations: 23.44 kB / 438.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2944, allocations: 0 / 438.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of Templates: time 0.008551/0.303, allocations: 3.967 MB / 442.7 MB, free: 8.402 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.549055580049753]