Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.0009571/0.0009571, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0009851/0.0009851, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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 1.088/1.088, allocations: 177 MB / 204.8 MB, free: 5.605 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.523e-05, allocations: 5.266 kB / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.001878/0.001893, allocations: 1.638 MB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006924/0.002586, allocations: 0.5297 MB / 275.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.073e-05/0.002656, allocations: 3.938 kB / 275.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.506e-05/0.002701, allocations: 3.938 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.002844, allocations: 15.86 kB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.003104, allocations: 51.81 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.986e-05/0.003194, allocations: 43.84 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.313e-05/0.003277, allocations: 11.94 kB / 275.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.003385, allocations: 39.83 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.467e-05/0.00343, allocations: 19.92 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.003445, allocations: 0 / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.464e-05/0.00348, allocations: 12 kB / 275.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.196e-05/0.003522, allocations: 15.92 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.003554, allocations: 11.98 kB / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.003669, allocations: 43.83 kB / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003671, allocations: 0 / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003672, allocations: 0 / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.003675, allocations: 3.938 kB / 275.4 MB, free: 15.01 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.0003793/0.004055, allocations: 408.2 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.004091, allocations: 11.98 kB / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.004203, allocations: 24.88 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.004351, allocations: 141.4 kB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.004363, allocations: 8.375 kB / 275.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.004373, allocations: 4.375 kB / 275.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.004595, allocations: 125.6 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.004602, allocations: 192 / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.004613, allocations: 8.312 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.00462, allocations: 7.938 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.109e-05/0.004641, allocations: 4 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002559/0.004897, allocations: 271.5 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.005031, allocations: 70.11 kB / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/0.005064, allocations: 23.42 kB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.00508, allocations: 4 kB / 276.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.005107, allocations: 37.33 kB / 276.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.005108, allocations: 0 / 276.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.000149/0.005257, allocations: 69.58 kB / 276.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.005303, allocations: 81.05 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.892e-05/0.005402, allocations: 201.2 kB / 276.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.005412, allocations: 25.7 kB / 276.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.005479, allocations: 134.9 kB / 277 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.005501, allocations: 3.953 kB / 277 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.005524, allocations: 15.38 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.005641, allocations: 0.4961 MB / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.679e-06/0.005651, allocations: 0 / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-06/0.005657, allocations: 0 / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.587e-05/0.005683, allocations: 15.88 kB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.005684, allocations: 0 / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.444e-05/0.005739, allocations: 45.59 kB / 277.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.005754, allocations: 14.73 kB / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.005757, allocations: 0 / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.005768, allocations: 0 / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.941e-05/0.005808, allocations: 4 kB / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.005812, allocations: 0 / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.404e-05/0.005826, allocations: 0 / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.005832, allocations: 4 kB / 277.6 MB, free: 12.54 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.063e-05/0.005893, allocations: 156.6 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.005937, allocations: 57.75 kB / 277.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.005961, allocations: 12.34 kB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.005963, allocations: 0 / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.005967, allocations: 3.984 kB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.00597, allocations: 0 / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.006071, allocations: 128.6 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.006072, allocations: 0 / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.44e-05/0.006096, allocations: 11.94 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.006099, allocations: 3.984 kB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.006107, allocations: 7.938 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.006108, allocations: 4 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006109, allocations: 0 / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.006211, allocations: 207.6 kB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-05/0.006234, allocations: 11.94 kB / 278.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.006246, allocations: 11.94 kB / 278.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.953e-05/0.006276, allocations: 0 / 278.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.006301, allocations: 0 / 278.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.006305, allocations: 4 kB / 278.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.794e-05/0.006353, allocations: 147.1 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006353, allocations: 0 / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000138/0.006491, allocations: 8 kB / 278.3 MB, free: 11.7 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 5.783e-05/0.006549, allocations: 99.25 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.661e-05/0.006616, allocations: 15.62 kB / 278.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.006617, allocations: 0 / 278.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.434e-05/0.006631, allocations: 15.67 kB / 278.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.006856, allocations: 24.08 kB / 278.5 MB, free: 11.53 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.00728, allocations: 184.8 kB / 278.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.301e-05/0.007323, allocations: 63.34 kB / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.777e-05/0.007341, allocations: 0 / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/0.007373, allocations: 12.5 kB / 278.7 MB, free: 11.22 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.007374, allocations: 0 / 278.7 MB, free: 11.22 MB / 266.7 MB Notification: Performance of Templates: time 0.002225/0.009598, allocations: 0.5737 MB / 279.3 MB, free: 10.65 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.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.8542406540364027]