Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.001248/0.001248, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 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.001224/0.001224, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 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 1.446/1.446, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] 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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 55.91 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2552, allocations: 52.13 MB / 420.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003335/0.2585, allocations: 1.576 MB / 422.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.2596, allocations: 490.7 kB / 422.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.2597, allocations: 0 / 422.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.163e-05/0.2598, allocations: 11.88 kB / 422.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.2599, allocations: 7.922 kB / 422.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.2602, allocations: 45.97 kB / 423 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.2604, allocations: 51.83 kB / 423 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.2605, allocations: 8 kB / 423 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.038e-05/0.2606, allocations: 23.86 kB / 423 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.442e-05/0.2606, allocations: 31.78 kB / 423.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.2607, allocations: 4 kB / 423.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.253e-05/0.2607, allocations: 4 kB / 423.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.231e-05/0.2607, allocations: 11.98 kB / 423.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.2608, allocations: 23.81 kB / 423.1 MB, free: 13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.2609, allocations: 62.2 kB / 423.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2609, allocations: 0 / 423.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2609, allocations: 0 / 423.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.2609, allocations: 0 / 423.2 MB, free: 12.95 MB / 334.1 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.0004689/0.2614, allocations: 371.1 kB / 423.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2614, allocations: 16.03 kB / 423.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.2615, allocations: 8.891 kB / 423.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.2617, allocations: 204.1 kB / 423.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.2617, allocations: 4.359 kB / 423.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.2618, allocations: 8.375 kB / 423.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.262, allocations: 109.3 kB / 423.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.262, allocations: 0 / 423.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.262, allocations: 0 / 423.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.262, allocations: 0 / 423.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.515e-05/0.2621, allocations: 19.98 kB / 423.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.2624, allocations: 277.6 kB / 424.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.695e-05/0.2625, allocations: 41.2 kB / 424.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.631e-05/0.2626, allocations: 25.72 kB / 424.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.2626, allocations: 0 / 424.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.2626, allocations: 34.55 kB / 424.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2626, allocations: 4 kB / 424.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002382/0.2629, allocations: 61.62 kB / 424.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.2629, allocations: 85.09 kB / 424.4 MB, free: 11.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.2631, allocations: 138.1 kB / 424.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.2631, allocations: 25.7 kB / 424.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.2631, allocations: 88.39 kB / 424.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.2631, allocations: 4 kB / 424.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.2632, allocations: 25.66 kB / 424.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2633, allocations: 310.8 kB / 425 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.516e-05/0.2634, allocations: 15.98 kB / 425 MB, free: 10.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.956e-05/0.2634, allocations: 13.72 kB / 425 MB, free: 10.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.182e-05/0.2635, allocations: 41.64 kB / 425.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2635, allocations: 4 kB / 425.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00011/0.2636, allocations: 49.69 kB / 425.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2636, allocations: 11.92 kB / 425.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2636, allocations: 4 kB / 425.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2636, allocations: 0 / 425.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.2637, allocations: 7.938 kB / 425.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.2637, allocations: 3.938 kB / 425.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.559e-05/0.2637, allocations: 8.062 kB / 425.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.2637, allocations: 0 / 425.2 MB, free: 10.7 MB / 334.1 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 9.465e-05/0.2638, allocations: 125.7 kB / 425.3 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.019e-05/0.2639, allocations: 41.64 kB / 425.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.2639, allocations: 11.86 kB / 425.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2639, allocations: 4 kB / 425.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2639, allocations: 0 / 425.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.2639, allocations: 0 / 425.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.2641, allocations: 173.6 kB / 425.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2641, allocations: 4 kB / 425.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.447e-05/0.2642, allocations: 7.938 kB / 425.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2642, allocations: 0 / 425.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.2642, allocations: 0 / 425.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2642, allocations: 0 / 425.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2642, allocations: 4 kB / 425.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.2644, allocations: 160.3 kB / 425.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.2644, allocations: 93.05 kB / 425.8 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.2645, allocations: 4 kB / 425.8 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.558e-05/0.2645, allocations: 0 / 425.8 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.2646, allocations: 3.984 kB / 425.8 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.2646, allocations: 4 kB / 425.8 MB, free: 9.965 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.371e-05/0.2646, allocations: 105.7 kB / 425.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2646, allocations: 0 / 425.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002156/0.2649, allocations: 4.031 kB / 425.9 MB, free: 9.859 MB / 334.1 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 0.0001003/0.265, allocations: 115.9 kB / 426 MB, free: 9.738 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.2651, allocations: 15.98 kB / 426 MB, free: 9.723 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2651, allocations: 0 / 426 MB, free: 9.723 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.705e-05/0.2651, allocations: 12 kB / 426 MB, free: 9.711 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.2654, allocations: 27.17 kB / 426.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.2658, allocations: 163.8 kB / 426.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.2661, allocations: 0.6922 MB / 426.9 MB, free: 8.781 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.639e-05/0.2661, allocations: 0 / 426.9 MB, free: 8.781 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.2662, allocations: 11.44 kB / 426.9 MB, free: 8.77 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2662, allocations: 0 / 426.9 MB, free: 8.77 MB / 334.1 MB Notification: Performance of Templates: time 0.002844/0.269, allocations: 0.5323 MB / 427.4 MB, free: 8.242 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.448979860171676]