Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001727/0.001727, allocations: 106.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002164/0.002164, allocations: 220.4 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.591/1.591, allocations: 230.2 MB / 256.2 MB, free: 8.555 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 75.86 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3318, allocations: 53.32 MB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003724/0.3356, allocations: 1.582 MB / 431.4 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000495/0.3361, allocations: 135.5 kB / 431.5 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.3362, allocations: 8 kB / 431.5 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.076e-05/0.3363, allocations: 3.938 kB / 431.5 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001552/0.3364, allocations: 7.922 kB / 431.5 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.3367, allocations: 39.84 kB / 431.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.3368, allocations: 35.86 kB / 431.6 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.3369, allocations: 11.98 kB / 431.6 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.788e-05/0.337, allocations: 15.94 kB / 431.6 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.836e-05/0.337, allocations: 7.922 kB / 431.6 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.3371, allocations: 4 kB / 431.6 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.3371, allocations: 4 kB / 431.7 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.207e-05/0.3372, allocations: 19.91 kB / 431.7 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/0.3372, allocations: 27.81 kB / 431.7 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.3374, allocations: 43.48 kB / 431.7 MB, free: 5.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3374, allocations: 0 / 431.7 MB, free: 5.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3374, allocations: 0 / 431.7 MB, free: 5.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3374, allocations: 0 / 431.7 MB, free: 5.602 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.0006689/0.3381, allocations: 368.8 kB / 432.1 MB, free: 5.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.3381, allocations: 11.97 kB / 432.1 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.3382, allocations: 8.891 kB / 432.1 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.3385, allocations: 204.1 kB / 432.3 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3386, allocations: 384 / 432.3 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.3386, allocations: 4.375 kB / 432.3 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/0.3389, allocations: 117.5 kB / 432.4 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3389, allocations: 4.188 kB / 432.4 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.339, allocations: 3.938 kB / 432.4 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.339, allocations: 4 kB / 432.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.856e-05/0.339, allocations: 19.92 kB / 432.5 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.3395, allocations: 257.8 kB / 432.7 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.3397, allocations: 142.2 kB / 432.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.964e-05/0.3398, allocations: 29.77 kB / 432.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.3398, allocations: 4 kB / 432.9 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.3399, allocations: 30.56 kB / 432.9 MB, free: 4.207 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.3399, allocations: 0 / 432.9 MB, free: 4.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002758/0.3401, allocations: 81.56 kB / 433 MB, free: 4.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/0.3402, allocations: 77.11 kB / 433.1 MB, free: 4.027 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.3404, allocations: 145.3 kB / 433.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.3404, allocations: 25.7 kB / 433.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/0.3404, allocations: 84.14 kB / 433.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.3405, allocations: 7.891 kB / 433.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.3405, allocations: 17.72 kB / 433.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3407, allocations: 323 kB / 433.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-05/0.3407, allocations: 8 kB / 433.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.735e-05/0.3408, allocations: 35.59 kB / 433.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.348e-05/0.3408, allocations: 47.36 kB / 433.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3408, allocations: 0 / 433.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001324/0.341, allocations: 77.5 kB / 433.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.341, allocations: 4 kB / 433.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.341, allocations: 0 / 433.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.341, allocations: 4 kB / 433.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.243e-05/0.3411, allocations: 12.06 kB / 433.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.3411, allocations: 4 kB / 433.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.994e-05/0.3411, allocations: 3.938 kB / 433.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.3411, allocations: 4 kB / 433.9 MB, free: 3.176 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 9.414e-05/0.3412, allocations: 121.8 kB / 434 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.417e-05/0.3413, allocations: 49.64 kB / 434 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.3413, allocations: 16.25 kB / 434 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3413, allocations: 0 / 434 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3413, allocations: 0 / 434 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3413, allocations: 4 kB / 434.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.3416, allocations: 173.6 kB / 434.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3416, allocations: 0 / 434.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.571e-05/0.3416, allocations: 15.92 kB / 434.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3416, allocations: 0 / 434.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.3416, allocations: 0 / 434.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.3416, allocations: 3.938 kB / 434.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3416, allocations: 4 kB / 434.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.3418, allocations: 168.3 kB / 434.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-05/0.3419, allocations: 89.09 kB / 434.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.3419, allocations: 4 kB / 434.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.58e-05/0.342, allocations: 0 / 434.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.342, allocations: 0 / 434.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.342, allocations: 4 kB / 434.5 MB, free: 2.422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.318e-05/0.3421, allocations: 103.2 kB / 434.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3421, allocations: 0 / 434.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002259/0.3423, allocations: 15.95 kB / 434.6 MB, free: 2.305 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.0001353/0.3425, allocations: 95.19 kB / 434.7 MB, free: 2.203 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.3426, allocations: 27.98 kB / 434.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3426, allocations: 0 / 434.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.117e-05/0.3427, allocations: 15.92 kB / 434.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.343, allocations: 24.22 kB / 434.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.3434, allocations: 162.3 kB / 434.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.3438, allocations: 0.6924 MB / 435.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.085e-05/0.3439, allocations: 0 / 435.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.3439, allocations: 11.44 kB / 435.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3439, allocations: 0 / 435.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of Templates: time 0.00329/0.3472, allocations: 0.5097 MB / 436.2 MB, free: 0.7148 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 5.064289435744286]