Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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.001323/0.001323, allocations: 113 kB / 19.04 MB, free: 3.254 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.001312/0.001312, allocations: 197.9 kB / 22.22 MB, free: 72 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.61/1.61, allocations: 225.6 MB / 250.8 MB, free: 13.34 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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 51.92 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.375, allocations: 52.13 MB / 420.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002614/0.3776, allocations: 0.8776 MB / 421.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004271/0.378, allocations: 123.6 kB / 421.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.07e-05/0.3781, allocations: 0 / 421.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.3782, allocations: 3.938 kB / 421.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.3784, allocations: 23.86 kB / 421.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.3786, allocations: 34.84 kB / 421.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.3787, allocations: 43.84 kB / 422 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.379, allocations: 15.98 kB / 422 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.682e-05/0.379, allocations: 19.88 kB / 422 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.212e-05/0.3791, allocations: 15.92 kB / 422 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.3791, allocations: 4 kB / 422 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.64e-05/0.3791, allocations: 4 kB / 422 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.381e-05/0.3792, allocations: 19.91 kB / 422 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.992e-05/0.3793, allocations: 31.8 kB / 422.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.3794, allocations: 63.39 kB / 422.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3794, allocations: 4 kB / 422.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.3794, allocations: 0 / 422.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.3795, allocations: 0 / 422.1 MB, free: 13.82 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006664/0.3801, allocations: 383.4 kB / 422.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.3802, allocations: 8.031 kB / 422.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.3802, allocations: 8.891 kB / 422.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.3805, allocations: 200.1 kB / 422.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.3805, allocations: 12.38 kB / 422.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.3805, allocations: 8.375 kB / 422.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.3809, allocations: 143.7 kB / 422.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.3809, allocations: 4.172 kB / 422.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.3809, allocations: 7.938 kB / 422.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.3809, allocations: 0 / 422.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.797e-05/0.381, allocations: 19.98 kB / 422.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.3812, allocations: 181.6 kB / 423.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.3814, allocations: 74.62 kB / 423.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.877e-05/0.3814, allocations: 40.84 kB / 423.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.3815, allocations: 0 / 423.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.3816, allocations: 30.56 kB / 423.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.51e-07/0.3816, allocations: 4 kB / 423.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002563/0.3819, allocations: 105.7 kB / 423.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.502e-05/0.382, allocations: 59.41 kB / 423.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.3821, allocations: 137.8 kB / 423.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.3822, allocations: 29.64 kB / 423.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.3823, allocations: 92.14 kB / 423.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.3823, allocations: 7.984 kB / 423.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.3823, allocations: 25.67 kB / 423.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3825, allocations: 326.8 kB / 424 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.206e-05/0.3825, allocations: 4 kB / 424 MB, free: 11.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.2e-05/0.3826, allocations: 62.86 kB / 424.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.3827, allocations: 70.75 kB / 424.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3827, allocations: 0 / 424.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001449/0.3828, allocations: 101.4 kB / 424.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.3829, allocations: 18.84 kB / 424.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3829, allocations: 0 / 424.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.3829, allocations: 4 kB / 424.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.483e-05/0.383, allocations: 12 kB / 424.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.206e-05/0.3831, allocations: 7.984 kB / 424.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.3831, allocations: 0 / 424.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.3831, allocations: 4.25 kB / 424.3 MB, free: 11.39 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001384/0.3832, allocations: 137.7 kB / 424.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.3834, allocations: 85.88 kB / 424.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.74e-05/0.3835, allocations: 12.72 kB / 424.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3835, allocations: 0 / 424.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3835, allocations: 0 / 424.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.3835, allocations: 0 / 424.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.3836, allocations: 177.6 kB / 424.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3836, allocations: 0 / 424.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.753e-05/0.3837, allocations: 11.94 kB / 424.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.3837, allocations: 11.94 kB / 424.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3837, allocations: 3.984 kB / 424.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3837, allocations: 192 / 424.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.3837, allocations: 4.078 kB / 424.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.3839, allocations: 116.9 kB / 424.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.384, allocations: 97.05 kB / 424.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.384, allocations: 7.922 kB / 424.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.416e-05/0.384, allocations: 4 kB / 424.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-06/0.3841, allocations: 0 / 424.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.3841, allocations: 4 kB / 424.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.337e-05/0.3842, allocations: 107.3 kB / 425 MB, free: 10.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3842, allocations: 0 / 425 MB, free: 10.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002087/0.3844, allocations: 8 kB / 425.1 MB, free: 10.52 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001707/0.3845, allocations: 104 kB / 425.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001644/0.3847, allocations: 51.98 kB / 425.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3847, allocations: 0 / 425.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.3847, allocations: 3.938 kB / 425.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.385, allocations: 36.02 kB / 425.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.3854, allocations: 189.2 kB / 425.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.3858, allocations: 0.7 MB / 426.1 MB, free: 9.379 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.794e-05/0.3859, allocations: 9.109 kB / 426.1 MB, free: 9.367 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.3859, allocations: 11.44 kB / 426.1 MB, free: 9.355 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3859, allocations: 0 / 426.1 MB, free: 9.355 MB / 334.1 MB Notification: Performance of Templates: time 0.003756/0.3897, allocations: 0.7142 MB / 426.9 MB, free: 8.645 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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.929286875762045]