Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.0009564/0.0009564, allocations: 80 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.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.003685/0.003685, allocations: 141.2 kB / 24.68 MB, free: 8.883 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.8047/0.8047, allocations: 173.4 MB / 201.2 MB, free: 9.43 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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.301e-05, allocations: 2.281 kB / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.001938/0.001961, allocations: 1.492 MB / 321.2 MB, free: 4.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000277/0.002238, allocations: 147.4 kB / 321.3 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.199e-05/0.0023, allocations: 11.88 kB / 321.3 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.735e-05/0.002337, allocations: 0 / 321.3 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.002451, allocations: 7.922 kB / 321.3 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.002628, allocations: 39.84 kB / 321.4 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.927e-05/0.002707, allocations: 31.86 kB / 321.4 MB, free: 4.109 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.682e-05/0.002784, allocations: 0 / 321.4 MB, free: 4.109 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.629e-05/0.00282, allocations: 19.98 kB / 321.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.338e-05/0.002853, allocations: 11.92 kB / 321.4 MB, free: 4.078 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.002874, allocations: 4 kB / 321.4 MB, free: 4.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.574e-06/0.002881, allocations: 4 kB / 321.4 MB, free: 4.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.761e-05/0.002919, allocations: 11.98 kB / 321.5 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.002938, allocations: 7.938 kB / 321.5 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.899e-05/0.003027, allocations: 43.75 kB / 321.5 MB, free: 4.008 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.003029, allocations: 0 / 321.5 MB, free: 4.008 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.00303, allocations: 4 kB / 321.5 MB, free: 4.004 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.003034, allocations: 0 / 321.5 MB, free: 4.004 MB / 282.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.0003182/0.003352, allocations: 289.3 kB / 321.8 MB, free: 3.691 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.003386, allocations: 12.92 kB / 321.8 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.003411, allocations: 4.938 kB / 321.8 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.003582, allocations: 137.6 kB / 321.9 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.003591, allocations: 384 / 321.9 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.003599, allocations: 4.375 kB / 322 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.00378, allocations: 97.53 kB / 322 MB, free: 3.398 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.003787, allocations: 192 / 322 MB, free: 3.398 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-06/0.003794, allocations: 384 / 322 MB, free: 3.398 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.003798, allocations: 4.375 kB / 322.1 MB, free: 3.395 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.659e-05/0.003834, allocations: 23.86 kB / 322.1 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.004035, allocations: 197.5 kB / 322.3 MB, free: 3.145 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.054e-05/0.004086, allocations: 45.14 kB / 322.3 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/0.004111, allocations: 17.78 kB / 322.3 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.004127, allocations: 0 / 322.3 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.00415, allocations: 38.55 kB / 322.4 MB, free: 3.012 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.004151, allocations: 4 kB / 322.4 MB, free: 3.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001481/0.004299, allocations: 69.61 kB / 322.4 MB, free: 2.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.00434, allocations: 77.11 kB / 322.5 MB, free: 2.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.979e-05/0.004419, allocations: 137.5 kB / 322.6 MB, free: 2.695 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.697e-06/0.004428, allocations: 29.7 kB / 322.7 MB, free: 2.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.004468, allocations: 84.14 kB / 322.8 MB, free: 2.574 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.323e-06/0.004475, allocations: 3.953 kB / 322.8 MB, free: 2.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.004498, allocations: 13.72 kB / 322.8 MB, free: 2.551 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.745e-05/0.004565, allocations: 310.8 kB / 323.1 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.238e-05/0.004587, allocations: 15.92 kB / 323.1 MB, free: 2.223 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.271e-05/0.0046, allocations: 12.09 kB / 323.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.092e-05/0.004631, allocations: 16.84 kB / 323.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.004633, allocations: 4 kB / 323.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.367e-05/0.004687, allocations: 41.69 kB / 323.2 MB, free: 2.141 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.004697, allocations: 8 kB / 323.2 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.004702, allocations: 3.938 kB / 323.2 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.004714, allocations: 0 / 323.2 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.107e-05/0.004755, allocations: 8.078 kB / 323.2 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.004758, allocations: 4 kB / 323.2 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.138e-05/0.00477, allocations: 0 / 323.2 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-06/0.004773, allocations: 0 / 323.2 MB, free: 2.117 MB / 282.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: 1 (step.y) * 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.545e-05/0.004829, allocations: 113.8 kB / 323.3 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.004862, allocations: 45.58 kB / 323.3 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.004884, allocations: 11.75 kB / 323.4 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.004885, allocations: 3.938 kB / 323.4 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.004888, allocations: 0 / 323.4 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.004892, allocations: 4 kB / 323.4 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.358e-05/0.004975, allocations: 117.3 kB / 323.5 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.004976, allocations: 0 / 323.5 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.923e-05/0.004995, allocations: 11.98 kB / 323.5 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.004997, allocations: 0 / 323.5 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.005002, allocations: 0 / 323.5 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.005004, allocations: 7.938 kB / 323.5 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005005, allocations: 0 / 323.5 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.226e-05/0.005087, allocations: 152.3 kB / 323.6 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.005114, allocations: 23.88 kB / 323.7 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-06/0.005122, allocations: 4.031 kB / 323.7 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.829e-05/0.005151, allocations: 3.938 kB / 323.7 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.005174, allocations: 7.984 kB / 323.7 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.005176, allocations: 0 / 323.7 MB, free: 1.555 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.019e-05/0.005216, allocations: 103.3 kB / 323.8 MB, free: 1.453 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005216, allocations: 0 / 323.8 MB, free: 1.453 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001334/0.00535, allocations: 4 kB / 323.8 MB, free: 1.449 MB / 282.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: 2 (step.y,sample1.y) * 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 7.499e-05/0.005425, allocations: 95.25 kB / 323.9 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.393e-05/0.005499, allocations: 23.92 kB / 323.9 MB, free: 1.324 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.0055, allocations: 0 / 323.9 MB, free: 1.324 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.709e-05/0.005517, allocations: 11.98 kB / 323.9 MB, free: 1.312 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.005721, allocations: 11.97 kB / 323.9 MB, free: 1.301 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002201/0.005941, allocations: 167.4 kB / 324.1 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.86e-05/0.00599, allocations: 71.33 kB / 324.2 MB, free: 1.012 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.015e-05/0.00601, allocations: 12.5 kB / 324.2 MB, free: 1 MB / 282.7 MB Notification: Performance of SimCode: time 2.31e-07/0.00601, allocations: 4 kB / 324.2 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of Templates: time 0.00137/0.00738, allocations: 0.6314 MB / 324.8 MB, free: 376 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.8982896925881505]