Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.0009141/0.0009141, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.003858/0.003858, allocations: 157.8 kB / 24.7 MB, free: 8.891 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.8737/0.8737, allocations: 177.1 MB / 205 MB, free: 5.727 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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.194e-05, allocations: 5.516 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.001921/0.001943, allocations: 1.579 MB / 327.4 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007495/0.002693, allocations: 0.4986 MB / 327.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.512e-05/0.002778, allocations: 7.938 kB / 327.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.427e-05/0.002822, allocations: 11.92 kB / 327.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.002959, allocations: 7.875 kB / 327.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.003244, allocations: 67.62 kB / 328 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.003345, allocations: 43.86 kB / 328 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.003447, allocations: 20.09 kB / 328.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.003565, allocations: 27.92 kB / 328.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.879e-05/0.003613, allocations: 19.91 kB / 328.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.00363, allocations: 4 kB / 328.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.738e-05/0.003667, allocations: 4 kB / 328.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.003713, allocations: 19.92 kB / 328.1 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.003733, allocations: 8 kB / 328.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.00387, allocations: 67.67 kB / 328.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.003873, allocations: 3.984 kB / 328.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.003875, allocations: 0 / 328.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.003878, allocations: 0 / 328.2 MB, free: 13.05 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003809/0.004259, allocations: 305.9 kB / 328.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.004294, allocations: 8.031 kB / 328.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.004408, allocations: 16.88 kB / 328.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.004587, allocations: 145.6 kB / 328.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.004596, allocations: 4.375 kB / 328.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.004606, allocations: 4.375 kB / 328.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.00482, allocations: 101.6 kB / 328.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.004828, allocations: 192 / 328.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.004838, allocations: 4.125 kB / 328.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.004842, allocations: 0 / 328.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.393e-05/0.004886, allocations: 27.92 kB / 328.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.00512, allocations: 201.5 kB / 329 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.461e-05/0.005184, allocations: 49.14 kB / 329.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.977e-05/0.005214, allocations: 25.7 kB / 329.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.005232, allocations: 7.938 kB / 329.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.005254, allocations: 34.5 kB / 329.1 MB, free: 12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.005255, allocations: 0 / 329.1 MB, free: 12 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001677/0.005422, allocations: 73.66 kB / 329.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.005466, allocations: 77.11 kB / 329.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.115e-05/0.005557, allocations: 145.6 kB / 329.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.005566, allocations: 25.7 kB / 329.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.005606, allocations: 92.12 kB / 329.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.301e-05/0.005619, allocations: 3.953 kB / 329.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.005644, allocations: 13.66 kB / 329.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.172e-05/0.005726, allocations: 318.8 kB / 329.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.177e-05/0.005748, allocations: 7.984 kB / 329.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.621e-05/0.005764, allocations: 12.16 kB / 329.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.627e-05/0.0058, allocations: 16.84 kB / 329.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.005803, allocations: 4 kB / 329.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.201e-05/0.005865, allocations: 53.58 kB / 329.9 MB, free: 11.1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.005877, allocations: 7.984 kB / 330 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.005881, allocations: 0 / 330 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.005892, allocations: 0 / 330 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.478e-05/0.005937, allocations: 4 kB / 330 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.005944, allocations: 8.031 kB / 330 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.527e-05/0.005959, allocations: 4 kB / 330 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.005965, allocations: 0 / 330 MB, free: 11.08 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 5.779e-05/0.006022, allocations: 117.8 kB / 330.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.006054, allocations: 41.59 kB / 330.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.00608, allocations: 23.75 kB / 330.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.006083, allocations: 0 / 330.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.006086, allocations: 0 / 330.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.006092, allocations: 0 / 330.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.185e-05/0.006184, allocations: 117.3 kB / 330.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.006185, allocations: 4 kB / 330.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.006204, allocations: 7.984 kB / 330.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.006205, allocations: 0 / 330.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.006213, allocations: 3.938 kB / 330.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.006215, allocations: 4 kB / 330.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006216, allocations: 0 / 330.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.006316, allocations: 164.2 kB / 330.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.507e-05/0.006341, allocations: 11.94 kB / 330.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.006353, allocations: 3.938 kB / 330.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.223e-05/0.006386, allocations: 12.03 kB / 330.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/0.006412, allocations: 7.969 kB / 330.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-06/0.006415, allocations: 7.938 kB / 330.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.944e-05/0.006465, allocations: 110.3 kB / 330.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006465, allocations: 0 / 330.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001378/0.006603, allocations: 4 kB / 330.6 MB, free: 10.39 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 (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 6.438e-05/0.006667, allocations: 95.25 kB / 330.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.192e-05/0.006749, allocations: 27.92 kB / 330.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.00675, allocations: 0 / 330.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.759e-05/0.006768, allocations: 4 kB / 330.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.006993, allocations: 16.02 kB / 330.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002618/0.007255, allocations: 191.8 kB / 330.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.323e-05/0.007308, allocations: 75.08 kB / 331 MB, free: 9.926 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.511e-05/0.007333, allocations: 12.5 kB / 331 MB, free: 9.914 MB / 298.7 MB Notification: Performance of SimCode: time 3.2e-07/0.007333, allocations: 224 / 331 MB, free: 9.914 MB / 298.7 MB Notification: Performance of Templates: time 0.001527/0.00886, allocations: 0.7566 MB / 331.8 MB, free: 9.156 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.3489600121974945]