Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001921/0.001921, allocations: 96.25 kB / 20.96 MB, free: 3.461 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.00224/0.00224, allocations: 156.9 kB / 24.27 MB, free: 164 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.504/1.504, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.475e-05/3.637e-05, allocations: 5.266 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003367/0.003403, allocations: 1.698 MB / 273.9 MB, free: 72 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005555/0.003959, allocations: 159.4 kB / 274.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.887e-05/0.004048, allocations: 4 kB / 274.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.401e-05/0.004112, allocations: 15.86 kB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.004258, allocations: 3.938 kB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003802/0.004639, allocations: 47.77 kB / 274.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.004767, allocations: 55.84 kB / 274.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.004911, allocations: 27.88 kB / 274.2 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.974e-05/0.004981, allocations: 27.91 kB / 274.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.494e-05/0.005046, allocations: 19.97 kB / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.005071, allocations: 7.938 kB / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.304e-05/0.005084, allocations: 4 kB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.00514, allocations: 11.94 kB / 274.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.106e-05/0.005191, allocations: 31.91 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.005356, allocations: 63.72 kB / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.005359, allocations: 0 / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005359, allocations: 0 / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.005368, allocations: 4 kB / 274.4 MB, free: 15.59 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005691/0.005937, allocations: 313.9 kB / 274.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.005979, allocations: 15.98 kB / 274.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/0.006042, allocations: 16.89 kB / 274.7 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.006473, allocations: 141.5 kB / 274.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.006489, allocations: 8.375 kB / 274.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.006506, allocations: 8.375 kB / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/0.006914, allocations: 162.3 kB / 275 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.006922, allocations: 192 / 275 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.006932, allocations: 384 / 275 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.006938, allocations: 384 / 275 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.007067, allocations: 43.91 kB / 275.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.0075, allocations: 309.5 kB / 275.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.007784, allocations: 111.9 kB / 275.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.007898, allocations: 54.62 kB / 275.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.007927, allocations: 4 kB / 275.6 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.007961, allocations: 38.5 kB / 275.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.007962, allocations: 0 / 275.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.00037/0.008332, allocations: 129.7 kB / 275.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.598e-05/0.008428, allocations: 110.8 kB / 275.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.008596, allocations: 145 kB / 276 MB, free: 13.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.008626, allocations: 25.7 kB / 276 MB, free: 13.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.975e-05/0.008706, allocations: 92.08 kB / 276.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.008722, allocations: 3.953 kB / 276.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.00876, allocations: 17.72 kB / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.008953, allocations: 314.8 kB / 276.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.593e-05/0.008999, allocations: 8 kB / 276.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.077e-05/0.00905, allocations: 25.77 kB / 276.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.886e-05/0.009129, allocations: 29.7 kB / 276.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.00913, allocations: 0 / 276.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001274/0.009258, allocations: 57.58 kB / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.009275, allocations: 7.938 kB / 276.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.00928, allocations: 0 / 276.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.009296, allocations: 4 kB / 276.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.704e-05/0.009333, allocations: 8.125 kB / 276.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.009341, allocations: 3.984 kB / 276.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.722e-05/0.009368, allocations: 0 / 276.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.009376, allocations: 7.938 kB / 276.6 MB, free: 13.18 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001123/0.009488, allocations: 117.8 kB / 276.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.009642, allocations: 82.03 kB / 276.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.009688, allocations: 20.77 kB / 276.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.009693, allocations: 4 kB / 276.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.009698, allocations: 0 / 276.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.009702, allocations: 0 / 276.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.009927, allocations: 125.3 kB / 276.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.009928, allocations: 0 / 276.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-05/0.01, allocations: 19.98 kB / 276.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.01001, allocations: 4 kB / 276.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.01002, allocations: 3.938 kB / 276.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.01002, allocations: 3.938 kB / 276.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01002, allocations: 0 / 276.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004255/0.01045, allocations: 324.3 kB / 277.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/0.0105, allocations: 23.86 kB / 277.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.01052, allocations: 8 kB / 277.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.01062, allocations: 4 kB / 277.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.01066, allocations: 3.938 kB / 277.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.01067, allocations: 15.92 kB / 277.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.732e-05/0.01076, allocations: 103.3 kB / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01076, allocations: 0 / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002597/0.01102, allocations: 12 kB / 277.4 MB, free: 12.25 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0001202/0.01114, allocations: 91.25 kB / 277.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.01131, allocations: 47.91 kB / 277.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01131, allocations: 0 / 277.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.85e-05/0.01135, allocations: 8 kB / 277.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.01183, allocations: 45.95 kB / 277.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.0123, allocations: 208.6 kB / 277.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.01242, allocations: 87.25 kB / 277.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.611e-05/0.01245, allocations: 4.25 kB / 277.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.01249, allocations: 12.5 kB / 277.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01249, allocations: 0 / 277.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of Templates: time 0.003481/0.01597, allocations: 0.7004 MB / 278.6 MB, free: 11.01 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.3914351490093395]