Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9706/0.9706, allocations: 173.4 MB / 202.2 MB, free: 8.277 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.689e-05, allocations: 5.266 kB / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.00289/0.002917, allocations: 1.602 MB / 270.8 MB, free: 8.18 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000817/0.003734, allocations: 454.1 kB / 271.3 MB, free: 7.734 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.519e-05/0.003819, allocations: 7.938 kB / 271.3 MB, free: 7.727 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.029e-05/0.003869, allocations: 0 / 271.3 MB, free: 7.727 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.00401, allocations: 15.84 kB / 271.3 MB, free: 7.711 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.004249, allocations: 39.78 kB / 271.3 MB, free: 7.672 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.004355, allocations: 44.75 kB / 271.4 MB, free: 7.629 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.476e-05/0.00445, allocations: 4 kB / 271.4 MB, free: 7.625 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.004556, allocations: 28.44 kB / 271.4 MB, free: 7.598 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.978e-05/0.004606, allocations: 7.984 kB / 271.4 MB, free: 7.59 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.004625, allocations: 5.938 kB / 271.4 MB, free: 7.586 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.004637, allocations: 4 kB / 271.4 MB, free: 7.582 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.568e-05/0.004682, allocations: 15.92 kB / 271.4 MB, free: 7.566 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.004707, allocations: 11.94 kB / 271.4 MB, free: 7.555 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.004812, allocations: 31.83 kB / 271.5 MB, free: 7.523 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.004816, allocations: 5.312 kB / 271.5 MB, free: 7.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.004817, allocations: 0 / 271.5 MB, free: 7.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.004822, allocations: 0 / 271.5 MB, free: 7.52 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004171/0.005239, allocations: 392.8 kB / 271.9 MB, free: 7.102 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.005276, allocations: 12.62 kB / 271.9 MB, free: 7.09 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.005314, allocations: 12.83 kB / 271.9 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.005493, allocations: 138.4 kB / 272 MB, free: 6.918 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.005503, allocations: 4.375 kB / 272 MB, free: 6.914 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.005511, allocations: 4.375 kB / 272 MB, free: 6.91 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.005702, allocations: 103.5 kB / 272.1 MB, free: 6.785 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.00571, allocations: 192 / 272.1 MB, free: 6.785 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.005718, allocations: 4.375 kB / 272.1 MB, free: 6.781 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.005725, allocations: 3.938 kB / 272.1 MB, free: 6.777 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.107e-05/0.005746, allocations: 4.891 kB / 272.1 MB, free: 6.773 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002413/0.005988, allocations: 244.1 kB / 272.4 MB, free: 6.504 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.903e-05/0.006047, allocations: 50.94 kB / 272.4 MB, free: 6.43 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.193e-05/0.006069, allocations: 19.86 kB / 272.4 MB, free: 6.402 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.006087, allocations: 16 kB / 272.5 MB, free: 6.387 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.006112, allocations: 41.33 kB / 272.5 MB, free: 6.336 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.006113, allocations: 0 / 272.5 MB, free: 6.336 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001479/0.006261, allocations: 49.53 kB / 272.6 MB, free: 6.281 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.006315, allocations: 81.09 kB / 272.6 MB, free: 6.184 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.006435, allocations: 196 kB / 272.8 MB, free: 5.977 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.006446, allocations: 25.7 kB / 272.8 MB, free: 5.945 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.006505, allocations: 138.8 kB / 273 MB, free: 5.805 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.006519, allocations: 0 / 273 MB, free: 5.805 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.006555, allocations: 23.58 kB / 273 MB, free: 5.773 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.006699, allocations: 0.4923 MB / 273.5 MB, free: 5.27 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.005e-05/0.006709, allocations: 0 / 273.5 MB, free: 5.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-06/0.006717, allocations: 0 / 273.5 MB, free: 5.27 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.589e-05/0.006743, allocations: 11.69 kB / 273.5 MB, free: 5.254 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006745, allocations: 3.938 kB / 273.5 MB, free: 5.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.059e-05/0.006816, allocations: 37.7 kB / 273.6 MB, free: 5.207 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.00683, allocations: 7.984 kB / 273.6 MB, free: 5.199 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.006836, allocations: 3.938 kB / 273.6 MB, free: 5.195 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.006845, allocations: 0 / 273.6 MB, free: 5.195 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.793e-05/0.006913, allocations: 8.094 kB / 273.6 MB, free: 5.188 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.006916, allocations: 0 / 273.6 MB, free: 5.188 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.274e-05/0.006939, allocations: 0 / 273.6 MB, free: 5.188 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.006944, allocations: 0 / 273.6 MB, free: 5.188 MB / 250.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 7.317e-05/0.007017, allocations: 156.6 kB / 273.7 MB, free: 5.023 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.102e-05/0.007078, allocations: 45.58 kB / 273.8 MB, free: 4.973 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.262e-05/0.007111, allocations: 15.7 kB / 273.8 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.007114, allocations: 3.984 kB / 273.8 MB, free: 4.953 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.007119, allocations: 4 kB / 273.8 MB, free: 4.949 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.007122, allocations: 0 / 273.8 MB, free: 4.949 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.007263, allocations: 109.3 kB / 273.9 MB, free: 4.816 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.007266, allocations: 4 kB / 273.9 MB, free: 4.812 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.962e-05/0.007306, allocations: 4 kB / 273.9 MB, free: 4.809 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.007309, allocations: 0 / 273.9 MB, free: 4.809 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.007316, allocations: 3.984 kB / 273.9 MB, free: 4.805 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.007317, allocations: 0 / 273.9 MB, free: 4.805 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.007321, allocations: 7.938 kB / 273.9 MB, free: 4.797 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.007441, allocations: 195.5 kB / 274.1 MB, free: 4.582 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.007475, allocations: 15.88 kB / 274.1 MB, free: 4.566 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.007489, allocations: 4 kB / 274.1 MB, free: 4.562 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.968e-05/0.007549, allocations: 4.031 kB / 274.1 MB, free: 4.559 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.007574, allocations: 3.938 kB / 274.1 MB, free: 4.555 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.007581, allocations: 7.984 kB / 274.1 MB, free: 4.547 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.431e-05/0.007645, allocations: 145.8 kB / 274.3 MB, free: 4.406 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.007645, allocations: 0 / 274.3 MB, free: 4.406 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002516/0.007897, allocations: 4 kB / 274.3 MB, free: 4.402 MB / 250.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 (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 Backend phase and start with SimCode phase: time 9.486e-05/0.007992, allocations: 91.25 kB / 274.4 MB, free: 4.305 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.232e-05/0.008064, allocations: 15.69 kB / 274.4 MB, free: 4.285 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.008066, allocations: 4.062 kB / 274.4 MB, free: 4.281 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.19e-05/0.008088, allocations: 15.61 kB / 274.4 MB, free: 4.262 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.008422, allocations: 12.31 kB / 274.4 MB, free: 4.246 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004728/0.008895, allocations: 161.3 kB / 274.6 MB, free: 4.059 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.439e-05/0.008939, allocations: 59.34 kB / 274.6 MB, free: 3.98 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.685e-05/0.008966, allocations: 4 kB / 274.6 MB, free: 3.977 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.526e-05/0.009031, allocations: 78.34 kB / 274.7 MB, free: 3.898 MB / 250.7 MB Notification: Performance of SimCode: time 8.02e-07/0.009032, allocations: 0 / 274.7 MB, free: 3.898 MB / 250.7 MB Notification: Performance of Templates: time 0.002735/0.01177, allocations: 0.5521 MB / 275.3 MB, free: 3.355 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.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.749293669126928]