Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.0007602/0.0007602, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.008703/0.008703, allocations: 161.5 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.893/0.893, allocations: 177.2 MB / 205 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.88e-05, allocations: 6.219 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.00245/0.002479, allocations: 1.602 MB / 327.4 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007828/0.003261, allocations: 0.5024 MB / 327.9 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.018e-05/0.003342, allocations: 7.938 kB / 328 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.411e-05/0.003386, allocations: 7.922 kB / 328 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.003519, allocations: 7.938 kB / 328 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.003826, allocations: 55.73 kB / 328 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001/0.003926, allocations: 43.86 kB / 328.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.422e-05/0.004021, allocations: 15.98 kB / 328.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.004153, allocations: 39.78 kB / 328.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.649e-05/0.0042, allocations: 11.92 kB / 328.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.004216, allocations: 4 kB / 328.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.85e-05/0.004255, allocations: 8 kB / 328.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.859e-05/0.004303, allocations: 15.98 kB / 328.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.004334, allocations: 11.92 kB / 328.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.004471, allocations: 55.8 kB / 328.2 MB, free: 13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.004474, allocations: 0 / 328.2 MB, free: 13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.004476, allocations: 0 / 328.2 MB, free: 13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.00448, allocations: 0 / 328.2 MB, free: 13 MB / 298.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.0004043/0.004884, allocations: 316.8 kB / 328.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.004918, allocations: 8.031 kB / 328.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.005032, allocations: 24.83 kB / 328.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.005226, allocations: 133.6 kB / 328.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.005235, allocations: 384 / 328.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-06/0.005245, allocations: 4.375 kB / 328.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.005481, allocations: 125.6 kB / 328.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.005488, allocations: 4.125 kB / 328.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.005497, allocations: 384 / 328.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.005504, allocations: 3.938 kB / 328.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.246e-05/0.005556, allocations: 23.92 kB / 328.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/0.005802, allocations: 213.4 kB / 329.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.005941, allocations: 57.14 kB / 329.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.107e-05/0.005982, allocations: 37.77 kB / 329.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.006, allocations: 0 / 329.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.00602, allocations: 38.5 kB / 329.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.00602, allocations: 0 / 329.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001791/0.0062, allocations: 81.55 kB / 329.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.006244, allocations: 85.09 kB / 329.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.969e-05/0.006334, allocations: 138.2 kB / 329.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.006343, allocations: 25.7 kB / 329.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.006381, allocations: 88.27 kB / 329.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.006395, allocations: 11.94 kB / 329.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.00642, allocations: 13.72 kB / 329.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.478e-05/0.006495, allocations: 314.8 kB / 329.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.949e-05/0.006525, allocations: 11.92 kB / 329.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.424e-05/0.006539, allocations: 4 kB / 330 MB, free: 11.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.178e-05/0.006581, allocations: 24.84 kB / 330 MB, free: 11.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.006583, allocations: 0 / 330 MB, free: 11.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.4e-05/0.006647, allocations: 57.64 kB / 330 MB, free: 10.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.00666, allocations: 7.938 kB / 330 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.006664, allocations: 0 / 330 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.006677, allocations: 4 kB / 330 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.139e-05/0.006718, allocations: 3.984 kB / 330 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.006723, allocations: 0 / 330 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.615e-05/0.006739, allocations: 4 kB / 330.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.006745, allocations: 0 / 330.1 MB, free: 10.96 MB / 298.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.096e-05/0.006806, allocations: 121.8 kB / 330.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.00685, allocations: 49.59 kB / 330.2 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.006877, allocations: 16.36 kB / 330.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.006879, allocations: 0 / 330.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.006883, allocations: 0 / 330.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.006887, allocations: 4 kB / 330.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.284e-05/0.00698, allocations: 117.3 kB / 330.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.006982, allocations: 0 / 330.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.972e-05/0.007011, allocations: 11.98 kB / 330.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.007013, allocations: 0 / 330.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.007021, allocations: 3.938 kB / 330.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.007023, allocations: 4 kB / 330.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007024, allocations: 7.938 kB / 330.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.00713, allocations: 168.3 kB / 330.5 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.007162, allocations: 19.94 kB / 330.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.007173, allocations: 3.938 kB / 330.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.133e-05/0.007204, allocations: 0 / 330.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.007231, allocations: 4 kB / 330.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.007235, allocations: 0 / 330.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.967e-05/0.007284, allocations: 114.2 kB / 330.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007285, allocations: 0 / 330.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001418/0.007426, allocations: 8 kB / 330.7 MB, free: 10.26 MB / 298.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 6.891e-05/0.007495, allocations: 95.25 kB / 330.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.573e-05/0.007581, allocations: 31.91 kB / 330.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.007582, allocations: 0 / 330.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.764e-05/0.0076, allocations: 4 kB / 330.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.007838, allocations: 20.02 kB / 330.8 MB, free: 10.1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.008109, allocations: 203.7 kB / 331 MB, free: 9.867 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.7e-05/0.008166, allocations: 83.2 kB / 331.1 MB, free: 9.766 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.008192, allocations: 8.5 kB / 331.1 MB, free: 9.758 MB / 298.7 MB Notification: Performance of SimCode: time 4.1e-07/0.008193, allocations: 0 / 331.1 MB, free: 9.758 MB / 298.7 MB Notification: Performance of Templates: time 0.001618/0.009811, allocations: 0.7623 MB / 331.9 MB, free: 9 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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: 3.9537348123267293]