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.001315/0.001315, allocations: 83.69 kB / 21.7 MB, free: 2.844 MB / 18.57 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.001661/0.001661, allocations: 157.3 kB / 24.99 MB, free: 8.262 MB / 18.57 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 0.979/0.979, allocations: 177 MB / 205.2 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] 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 1.893e-06/1.893e-06, allocations: 0 / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.019e-05, allocations: 5.125 kB / 273 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.005413/0.005444, allocations: 1.595 MB / 274.6 MB, free: 108 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003743/0.005818, allocations: 155.4 kB / 274.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.75e-05/0.005895, allocations: 3.938 kB / 274.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.841e-05/0.005944, allocations: 7.922 kB / 274.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.006077, allocations: 7.938 kB / 274.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.006283, allocations: 35.78 kB / 274.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.347e-05/0.006377, allocations: 35.91 kB / 274.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.526e-05/0.006472, allocations: 11.98 kB / 274.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.715e-05/0.006519, allocations: 15.92 kB / 274.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.725e-05/0.006556, allocations: 11.98 kB / 274.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.006577, allocations: 4 kB / 274.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.006588, allocations: 4 kB / 274.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.435e-05/0.006632, allocations: 15.94 kB / 274.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.006666, allocations: 15.91 kB / 274.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.847e-05/0.006765, allocations: 27.86 kB / 274.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.006767, allocations: 0 / 274.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006768, allocations: 0 / 274.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.006772, allocations: 4 kB / 275 MB, free: 15.75 MB / 266.7 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.0003703/0.007142, allocations: 388.4 kB / 275.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.007181, allocations: 15.98 kB / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.007222, allocations: 16.83 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.007394, allocations: 140.5 kB / 275.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.007406, allocations: 8.375 kB / 275.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.007415, allocations: 384 / 275.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.007652, allocations: 125.6 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.00766, allocations: 192 / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.007671, allocations: 8.375 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.007682, allocations: 384 / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.421e-05/0.007706, allocations: 15.88 kB / 275.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002472/0.007953, allocations: 271.4 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.008085, allocations: 70.11 kB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.667e-05/0.008122, allocations: 23.44 kB / 276 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.008135, allocations: 3.938 kB / 276 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.008156, allocations: 37.39 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.008157, allocations: 0 / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001501/0.008307, allocations: 61.52 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.008356, allocations: 93.03 kB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.953e-05/0.008456, allocations: 189.3 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.008467, allocations: 25.7 kB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/0.008518, allocations: 134.9 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.008531, allocations: 3.953 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.00856, allocations: 19.38 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.008683, allocations: 496.1 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.008694, allocations: 4 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-06/0.0087, allocations: 0 / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.408e-05/0.008724, allocations: 15.67 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.008725, allocations: 0 / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.982e-05/0.008775, allocations: 37.7 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.008789, allocations: 7.125 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.008793, allocations: 3.938 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.008805, allocations: 4 kB / 277.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.904e-05/0.008844, allocations: 0 / 277.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.008848, allocations: 0 / 277.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.668e-05/0.008865, allocations: 8 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.008869, allocations: 0 / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 6.443e-05/0.008933, allocations: 156.6 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.008986, allocations: 49.69 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.009014, allocations: 16.27 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.009016, allocations: 0 / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.009019, allocations: 0 / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.009022, allocations: 0 / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.00914, allocations: 128.6 kB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.009141, allocations: 0 / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.863e-05/0.00917, allocations: 7.938 kB / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.009172, allocations: 4 kB / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.009179, allocations: 3.984 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.009182, allocations: 3.938 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.009183, allocations: 4 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.009296, allocations: 215.5 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.361e-05/0.009319, allocations: 7.953 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.00933, allocations: 0 / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.769e-05/0.009378, allocations: 15.92 kB / 277.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.009406, allocations: 288 / 277.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.009412, allocations: 4 kB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.522e-05/0.009467, allocations: 139.2 kB / 277.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009468, allocations: 0 / 277.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002033/0.009671, allocations: 4 kB / 277.9 MB, free: 12.5 MB / 266.7 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 8.246e-05/0.009753, allocations: 107.1 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.233e-05/0.009826, allocations: 15.67 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.009827, allocations: 0 / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.428e-05/0.009841, allocations: 15.69 kB / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.01013, allocations: 29.58 kB / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.0104, allocations: 160.8 kB / 278.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.223e-05/0.01044, allocations: 59.34 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.205e-05/0.01046, allocations: 8.125 kB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.01049, allocations: 8.5 kB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01049, allocations: 0 / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of Templates: time 0.00229/0.01278, allocations: 0.5164 MB / 278.8 MB, free: 11.52 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8030950010288507]