Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001934/0.001934, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002309/0.002309, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.56/1.56, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 51.92 kB / 378.2 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3484, allocations: 53.36 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003521/0.3519, allocations: 1.578 MB / 433.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005164/0.3524, allocations: 135.5 kB / 433.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.577e-05/0.3525, allocations: 4 kB / 433.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.456e-05/0.3526, allocations: 3.938 kB / 433.3 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.3527, allocations: 7.938 kB / 433.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.353, allocations: 43.83 kB / 433.3 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.3531, allocations: 31.92 kB / 433.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.3532, allocations: 8 kB / 433.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.504e-05/0.3533, allocations: 19.91 kB / 433.4 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.902e-05/0.3533, allocations: 19.86 kB / 433.4 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.3534, allocations: 0 / 433.4 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.3534, allocations: 4 kB / 433.4 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.674e-05/0.3534, allocations: 8 kB / 433.4 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.3535, allocations: 19.81 kB / 433.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.3537, allocations: 53.98 kB / 433.5 MB, free: 4.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3537, allocations: 0 / 433.5 MB, free: 4.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3537, allocations: 0 / 433.5 MB, free: 4.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3537, allocations: 4 kB / 433.5 MB, free: 4.777 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006503/0.3543, allocations: 294.1 kB / 433.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3544, allocations: 8.031 kB / 433.8 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.3544, allocations: 8.891 kB / 433.8 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.3547, allocations: 134.3 kB / 433.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.3547, allocations: 8.375 kB / 434 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.3547, allocations: 4.375 kB / 434 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.3551, allocations: 113.5 kB / 434.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3551, allocations: 192 / 434.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.3551, allocations: 7.938 kB / 434.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.3551, allocations: 3.984 kB / 434.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.79e-05/0.3552, allocations: 27.92 kB / 434.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.3555, allocations: 205.4 kB / 434.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.3557, allocations: 61.14 kB / 434.4 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.829e-05/0.3558, allocations: 25.77 kB / 434.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.3558, allocations: 3.938 kB / 434.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.3559, allocations: 34.56 kB / 434.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3559, allocations: 0 / 434.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002845/0.3562, allocations: 85.64 kB / 434.5 MB, free: 3.625 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.486e-05/0.3562, allocations: 81.11 kB / 434.6 MB, free: 3.527 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.3564, allocations: 136.3 kB / 434.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.3564, allocations: 25.7 kB / 434.8 MB, free: 3.352 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.325e-05/0.3565, allocations: 84.14 kB / 434.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.3565, allocations: 7.953 kB / 434.8 MB, free: 3.258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.3566, allocations: 21.7 kB / 434.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.3568, allocations: 314.8 kB / 435.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.49e-05/0.3568, allocations: 7.984 kB / 435.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.573e-05/0.3569, allocations: 35.38 kB / 435.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.357, allocations: 51.39 kB / 435.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.357, allocations: 4 kB / 435.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001357/0.3571, allocations: 65.55 kB / 435.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3571, allocations: 8 kB / 435.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3571, allocations: 128 / 435.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3572, allocations: 4 kB / 435.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.757e-05/0.3572, allocations: 8 kB / 435.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3572, allocations: 0 / 435.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.08e-05/0.3573, allocations: 11.94 kB / 435.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.3573, allocations: 4 kB / 435.4 MB, free: 2.688 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.3574, allocations: 117.8 kB / 435.5 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.004e-05/0.3575, allocations: 49.62 kB / 435.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.54e-05/0.3575, allocations: 12.34 kB / 435.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.3575, allocations: 0 / 435.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3575, allocations: 4 kB / 435.5 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3575, allocations: 3.938 kB / 435.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.3577, allocations: 125.2 kB / 435.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3577, allocations: 4 kB / 435.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.606e-05/0.3578, allocations: 4 kB / 435.7 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.3578, allocations: 7.938 kB / 435.7 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3578, allocations: 3.938 kB / 435.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3578, allocations: 0 / 435.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3578, allocations: 0 / 435.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.358, allocations: 168.6 kB / 435.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/0.358, allocations: 19.97 kB / 435.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.3581, allocations: 7.984 kB / 435.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.73e-05/0.3581, allocations: 0 / 435.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.3581, allocations: 4 kB / 435.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.3582, allocations: 0 / 435.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.938e-05/0.3582, allocations: 107.2 kB / 436 MB, free: 1.988 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3582, allocations: 0 / 436 MB, free: 1.988 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.3585, allocations: 4 kB / 436 MB, free: 1.984 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001236/0.3586, allocations: 95.19 kB / 436.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.3588, allocations: 39.91 kB / 436.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3588, allocations: 0 / 436.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.742e-05/0.3588, allocations: 8 kB / 436.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.3592, allocations: 26.53 kB / 436.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.3595, allocations: 154.4 kB / 436.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.417e-05/0.3596, allocations: 67.34 kB / 436.4 MB, free: 1.547 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.133e-05/0.3597, allocations: 12.3 kB / 436.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.3597, allocations: 7.438 kB / 436.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3597, allocations: 0 / 436.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of Templates: time 0.00339/0.3631, allocations: 0.565 MB / 437 MB, free: 0.9727 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.677562272641808]