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.001621/0.001621, 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.001548/0.001548, allocations: 186 kB / 22.21 MB, free: 116 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.618/1.618, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.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 0.00162/0.00162, allocations: 47.92 kB / 368.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3636, allocations: 52.13 MB / 420.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003024/0.3666, allocations: 1.541 MB / 422.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003965/0.367, allocations: 139.5 kB / 422.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.069e-05/0.3671, allocations: 0 / 422.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.355e-05/0.3671, allocations: 7.938 kB / 422.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.3672, allocations: 7.922 kB / 422.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.3675, allocations: 43.53 kB / 422.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.592e-05/0.3676, allocations: 23.92 kB / 422.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3677, allocations: 8 kB / 422.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.063e-05/0.3677, allocations: 11.92 kB / 422.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.736e-05/0.3677, allocations: 11.94 kB / 422.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.3678, allocations: 7.938 kB / 422.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.195e-06/0.3678, allocations: 0 / 422.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.918e-05/0.3678, allocations: 15.92 kB / 422.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.719e-05/0.3679, allocations: 23.8 kB / 422.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.368, allocations: 39.48 kB / 422.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.368, allocations: 8 kB / 422.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.368, allocations: 0 / 422.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.368, allocations: 0 / 422.7 MB, free: 13.27 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004887/0.3685, allocations: 360.7 kB / 423.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3685, allocations: 12.03 kB / 423.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.3685, allocations: 4.891 kB / 423.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.3688, allocations: 200.2 kB / 423.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.3688, allocations: 384 / 423.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.3688, allocations: 8.375 kB / 423.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.3691, allocations: 89.61 kB / 423.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3691, allocations: 192 / 423.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3691, allocations: 3.938 kB / 423.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3691, allocations: 0 / 423.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.299e-05/0.3692, allocations: 19.98 kB / 423.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.3695, allocations: 253.8 kB / 423.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.512e-05/0.3696, allocations: 53.14 kB / 423.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.816e-05/0.3697, allocations: 21.7 kB / 423.7 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.3697, allocations: 7.938 kB / 423.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.3697, allocations: 38.56 kB / 423.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3697, allocations: 0 / 423.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002503/0.37, allocations: 65.56 kB / 423.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.3701, allocations: 81.11 kB / 423.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.3702, allocations: 134.4 kB / 424 MB, free: 11.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.3702, allocations: 25.7 kB / 424.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.956e-05/0.3703, allocations: 88.12 kB / 424.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/0.3703, allocations: 3.953 kB / 424.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.3703, allocations: 17.72 kB / 424.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3705, allocations: 310.8 kB / 424.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.403e-05/0.3705, allocations: 11.98 kB / 424.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.85e-05/0.3706, allocations: 21.72 kB / 424.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.527e-05/0.3706, allocations: 29.64 kB / 424.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3706, allocations: 0 / 424.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001108/0.3708, allocations: 49.62 kB / 424.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3708, allocations: 4 kB / 424.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3708, allocations: 12.06 kB / 424.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3708, allocations: 0 / 424.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.45e-05/0.3709, allocations: 7.984 kB / 424.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.3709, allocations: 0 / 424.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.974e-05/0.3709, allocations: 11.94 kB / 424.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.3709, allocations: 0 / 424.6 MB, free: 11.09 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: 2 (step.y,sample1.y) * 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 0.0001173/0.371, allocations: 121.7 kB / 424.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-05/0.3711, allocations: 41.66 kB / 424.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.3711, allocations: 3.906 kB / 424.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.3711, allocations: 8 kB / 424.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3711, allocations: 0 / 424.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3711, allocations: 0 / 424.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.3713, allocations: 169.6 kB / 425 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3713, allocations: 0 / 425 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.3714, allocations: 7.938 kB / 425 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3714, allocations: 4 kB / 425 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3714, allocations: 7.922 kB / 425 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3714, allocations: 0 / 425 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3714, allocations: 0 / 425 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.3716, allocations: 164.3 kB / 425.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.119e-05/0.3716, allocations: 89.05 kB / 425.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.3717, allocations: 0 / 425.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.593e-05/0.3717, allocations: 0 / 425.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.3717, allocations: 4 kB / 425.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.3717, allocations: 3.984 kB / 425.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.784e-05/0.3718, allocations: 110.8 kB / 425.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3718, allocations: 0 / 425.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002245/0.3721, allocations: 7.938 kB / 425.4 MB, free: 10.25 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: 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 0.0001153/0.3722, allocations: 99.98 kB / 425.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.3723, allocations: 19.98 kB / 425.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3723, allocations: 0 / 425.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.324e-05/0.3724, allocations: 12.11 kB / 425.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.3727, allocations: 26.81 kB / 425.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.373, allocations: 142.4 kB / 425.6 MB, free: 9.926 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.3734, allocations: 0.6883 MB / 426.3 MB, free: 9.211 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.895e-05/0.3734, allocations: 7.984 kB / 426.3 MB, free: 9.203 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.3734, allocations: 11.44 kB / 426.4 MB, free: 9.191 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3734, allocations: 4.156 kB / 426.4 MB, free: 9.188 MB / 334.1 MB Notification: Performance of Templates: time 0.002975/0.3764, allocations: 440.3 kB / 426.8 MB, free: 8.758 MB / 334.1 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: 5.09420064650476]