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.001371/0.001371, allocations: 103.5 kB / 20.43 MB, free: 1.199 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.001553/0.001553, allocations: 184.2 kB / 23.7 MB, free: 4.43 MB / 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.499/1.499, allocations: 225.7 MB / 252.5 MB, free: 12.84 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.001625/0.001625, allocations: 43.94 kB / 370.9 MB, free: 9.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2536, allocations: 52.19 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002315/0.256, allocations: 0.8666 MB / 423.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003865/0.2563, allocations: 111.7 kB / 424 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.626e-05/0.2564, allocations: 7.938 kB / 424 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.2565, allocations: 11.86 kB / 424.1 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.2567, allocations: 7.938 kB / 424.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.2569, allocations: 43.83 kB / 424.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.257, allocations: 35.92 kB / 424.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.2571, allocations: 15.98 kB / 424.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.068e-05/0.2572, allocations: 15.92 kB / 424.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.787e-05/0.2573, allocations: 23.86 kB / 424.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.2573, allocations: 7.938 kB / 424.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.456e-05/0.2573, allocations: 8 kB / 424.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.471e-05/0.2573, allocations: 19.91 kB / 424.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.2574, allocations: 23.81 kB / 424.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.2575, allocations: 61 kB / 424.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2575, allocations: 3.938 kB / 424.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2575, allocations: 0 / 424.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.2575, allocations: 0 / 424.3 MB, free: 13.23 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.0004924/0.258, allocations: 302 kB / 424.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2581, allocations: 8.031 kB / 424.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.2581, allocations: 12.88 kB / 424.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.2583, allocations: 140.5 kB / 424.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.2583, allocations: 8.375 kB / 424.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.2583, allocations: 4.375 kB / 424.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.2586, allocations: 139.8 kB / 424.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2586, allocations: 192 / 424.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.2587, allocations: 3.938 kB / 424.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2587, allocations: 0 / 424.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.492e-05/0.2587, allocations: 31.92 kB / 425 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.2589, allocations: 121.2 kB / 425.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.259, allocations: 66.77 kB / 425.1 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.988e-05/0.2591, allocations: 44.83 kB / 425.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.2591, allocations: 0 / 425.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.2592, allocations: 38.5 kB / 425.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.2592, allocations: 0 / 425.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002365/0.2594, allocations: 105.9 kB / 425.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.2595, allocations: 51.41 kB / 425.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.2596, allocations: 145.8 kB / 425.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.2596, allocations: 29.7 kB / 425.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.484e-05/0.2597, allocations: 84.14 kB / 425.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.2597, allocations: 4 kB / 425.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.2598, allocations: 33.66 kB / 425.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2599, allocations: 314.8 kB / 426 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.835e-05/0.2599, allocations: 15.92 kB / 426 MB, free: 11.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-05/0.26, allocations: 62.83 kB / 426.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.2601, allocations: 82.73 kB / 426.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.2601, allocations: 0 / 426.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000144/0.2602, allocations: 93.5 kB / 426.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2603, allocations: 7.531 kB / 426.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.2603, allocations: 11.98 kB / 426.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.2603, allocations: 3.938 kB / 426.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.493e-05/0.2604, allocations: 19.94 kB / 426.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2604, allocations: 4 kB / 426.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.475e-05/0.2604, allocations: 4 kB / 426.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.2604, allocations: 4 kB / 426.3 MB, free: 11.05 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.0001285/0.2606, allocations: 129.8 kB / 426.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.2607, allocations: 81.58 kB / 426.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.2607, allocations: 16.64 kB / 426.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2607, allocations: 8 kB / 426.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2608, allocations: 0 / 426.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2608, allocations: 0 / 426.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.518e-05/0.2608, allocations: 113.3 kB / 426.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2608, allocations: 0 / 426.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.912e-05/0.2609, allocations: 15.98 kB / 426.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2609, allocations: 0 / 426.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.2609, allocations: 3.984 kB / 426.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2609, allocations: 3.938 kB / 426.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2609, allocations: 4 kB / 426.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.2611, allocations: 116.9 kB / 426.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.2611, allocations: 23.94 kB / 426.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.2612, allocations: 0 / 426.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.623e-05/0.2612, allocations: 7.938 kB / 426.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-06/0.2612, allocations: 0 / 426.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.2612, allocations: 4 kB / 426.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.609e-05/0.2613, allocations: 107.2 kB / 426.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2613, allocations: 3.938 kB / 426.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00022/0.2615, allocations: 8 kB / 426.9 MB, free: 10.35 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.0001216/0.2616, allocations: 99.25 kB / 427 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.2618, allocations: 51.86 kB / 427.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2618, allocations: 0 / 427.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2618, allocations: 0 / 427.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.2621, allocations: 53.77 kB / 427.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.2624, allocations: 169.3 kB / 427.3 MB, free: 9.957 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.839e-05/0.2625, allocations: 87.17 kB / 427.4 MB, free: 9.852 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.468e-05/0.2626, allocations: 9.172 kB / 427.4 MB, free: 9.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.2626, allocations: 15.44 kB / 427.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2626, allocations: 0 / 427.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of Templates: time 0.003473/0.2661, allocations: 0.7856 MB / 428.2 MB, free: 9.059 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.395401492714882]