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.001591/0.001591, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001496/0.001496, allocations: 194.3 kB / 23.71 MB, free: 4.406 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.505/1.505, allocations: 225.7 MB / 252.5 MB, free: 12.81 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.001698/0.001698, allocations: 47.92 kB / 370.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3478, allocations: 52.19 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004659/0.3525, allocations: 2.581 MB / 425.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.3539, allocations: 0.6543 MB / 426.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.3541, allocations: 7.938 kB / 426.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.3543, allocations: 39.58 kB / 426.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.3545, allocations: 99.25 kB / 426.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.3549, allocations: 95.8 kB / 426.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004604/0.3553, allocations: 354.6 kB / 426.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.3555, allocations: 60.69 kB / 427 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.3557, allocations: 135.5 kB / 427.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.3559, allocations: 135.3 kB / 427.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.699e-05/0.356, allocations: 28 kB / 427.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.733e-05/0.356, allocations: 32 kB / 427.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.362e-05/0.3561, allocations: 67.7 kB / 427.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.3563, allocations: 119.5 kB / 427.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004301/0.3567, allocations: 325.1 kB / 427.8 MB, free: 9.738 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3567, allocations: 0 / 427.8 MB, free: 9.738 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3567, allocations: 0 / 427.8 MB, free: 9.738 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.3567, allocations: 4 kB / 427.8 MB, free: 9.734 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.001346/0.3581, allocations: 0.5741 MB / 428.4 MB, free: 9.125 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3581, allocations: 8.031 kB / 428.4 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.14e-05/0.3582, allocations: 32.75 kB / 428.4 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.3586, allocations: 222 kB / 428.6 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.3587, allocations: 24.81 kB / 428.7 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.3587, allocations: 16.38 kB / 428.7 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007067/0.3594, allocations: 333.4 kB / 429 MB, free: 8.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3594, allocations: 3.938 kB / 429 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.3594, allocations: 8 kB / 429 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.3595, allocations: 8 kB / 429 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007625/0.3602, allocations: 241.6 kB / 429.3 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.3619, allocations: 0.8087 MB / 430.1 MB, free: 7.336 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009557/0.3629, allocations: 230.6 kB / 430.3 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.3632, allocations: 96.78 kB / 430.4 MB, free: 7.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.3632, allocations: 4 kB / 430.4 MB, free: 7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005472/0.3638, allocations: 225.2 kB / 430.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 5.34e-06/0.3638, allocations: 3.984 kB / 430.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002413/0.3662, allocations: 0.5861 MB / 431.2 MB, free: 6.148 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.502e-05/0.3663, allocations: 102.8 kB / 431.3 MB, free: 6.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.3666, allocations: 257 kB / 431.6 MB, free: 5.762 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.3666, allocations: 29.7 kB / 431.6 MB, free: 5.727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.3667, allocations: 184.4 kB / 431.8 MB, free: 5.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.3668, allocations: 39.69 kB / 431.8 MB, free: 5.504 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.461e-05/0.3669, allocations: 49.59 kB / 431.9 MB, free: 5.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.367, allocations: 334.8 kB / 432.2 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/0.3674, allocations: 129.6 kB / 432.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/0.3679, allocations: 253 kB / 432.6 MB, free: 4.688 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006899/0.3685, allocations: 264.4 kB / 432.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.3685, allocations: 0 / 432.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001233/0.3698, allocations: 470.3 kB / 433.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/0.3698, allocations: 33.64 kB / 433.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.3698, allocations: 4 kB / 433.3 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003838/0.3702, allocations: 76.86 kB / 433.4 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.3704, allocations: 39.97 kB / 433.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002855/0.3733, allocations: 1.817 MB / 435.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/0.3736, allocations: 51.8 kB / 435.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.3737, allocations: 4 kB / 435.3 MB, free: 1.781 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.0001961/0.3738, allocations: 140.8 kB / 435.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/0.3739, allocations: 19.86 kB / 435.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.235e-05/0.3739, allocations: 29.83 kB / 435.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3739, allocations: 128 / 435.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.374, allocations: 7.938 kB / 435.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.374, allocations: 0 / 435.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.3742, allocations: 197.2 kB / 435.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3742, allocations: 0 / 435.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.3744, allocations: 31.91 kB / 435.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002984/0.3747, allocations: 76.8 kB / 435.8 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.3747, allocations: 0 / 435.8 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002404/0.3771, allocations: 1.633 MB / 437.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.3771, allocations: 8.031 kB / 437.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.3781, allocations: 349.6 kB / 437.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.3782, allocations: 23.8 kB / 437.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.3782, allocations: 4 kB / 437.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.3785, allocations: 35.95 kB / 437.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.071e-05/0.3786, allocations: 23.97 kB / 437.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.3786, allocations: 3.938 kB / 437.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001903/0.3788, allocations: 184.5 kB / 438 MB, free: 14.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3788, allocations: 0 / 438 MB, free: 14.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003789/0.3791, allocations: 67.89 kB / 438.1 MB, free: 14.81 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.0001637/0.3793, allocations: 107.2 kB / 438.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.3805, allocations: 435.4 kB / 438.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3805, allocations: 448 / 438.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004804/0.381, allocations: 222.6 kB / 438.8 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.3813, allocations: 39.22 kB / 438.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.3823, allocations: 463.6 kB / 439.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.3825, allocations: 138.2 kB / 439.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.71e-05/0.3826, allocations: 25.94 kB / 439.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.083e-05/0.3826, allocations: 19.44 kB / 439.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3826, allocations: 0 / 439.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of Templates: time 0.008834/0.3915, allocations: 4.066 MB / 443.6 MB, free: 9.277 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.793512104079127]