Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001299/0.001299, allocations: 78.28 kB / 21.42 MB, free: 3.078 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.001157/0.001157, allocations: 150.3 kB / 24.81 MB, free: 9.285 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 1.026/1.026, allocations: 173.3 MB / 201.4 MB, free: 9.191 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.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 268.4 MB, free: 6.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.71e-05, allocations: 2.312 kB / 268.4 MB, free: 6.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002292/0.002319, allocations: 0.8979 MB / 269.3 MB, free: 5.281 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003646/0.002684, allocations: 119.6 kB / 269.4 MB, free: 5.164 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.037e-05/0.002774, allocations: 7.938 kB / 269.4 MB, free: 5.156 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.928e-05/0.002823, allocations: 7.922 kB / 269.4 MB, free: 5.148 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.002965, allocations: 3.938 kB / 269.4 MB, free: 5.145 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.003172, allocations: 47.88 kB / 269.5 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.459e-05/0.003256, allocations: 43.8 kB / 269.5 MB, free: 5.055 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.619e-05/0.003342, allocations: 11.98 kB / 269.5 MB, free: 5.043 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.919e-05/0.003392, allocations: 19.98 kB / 269.6 MB, free: 5.023 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.019e-05/0.003422, allocations: 15.91 kB / 269.6 MB, free: 5.008 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.003441, allocations: 4 kB / 269.6 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.03e-05/0.003451, allocations: 4 kB / 269.6 MB, free: 5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.407e-05/0.003495, allocations: 15.92 kB / 269.6 MB, free: 4.984 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.003516, allocations: 11.94 kB / 269.6 MB, free: 4.973 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.57e-05/0.003611, allocations: 39.83 kB / 269.6 MB, free: 4.934 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.003615, allocations: 7.984 kB / 269.7 MB, free: 4.926 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.003616, allocations: 0 / 269.7 MB, free: 4.926 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.00362, allocations: 0 / 269.7 MB, free: 4.926 MB / 250.7 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.0002905/0.00391, allocations: 396.3 kB / 270 MB, free: 4.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.003947, allocations: 8.922 kB / 270 MB, free: 4.492 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.003976, allocations: 12.89 kB / 270.1 MB, free: 4.48 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.004103, allocations: 136.5 kB / 270.2 MB, free: 4.32 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-06/0.00411, allocations: 384 / 270.2 MB, free: 4.32 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.004117, allocations: 8.375 kB / 270.2 MB, free: 4.312 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.004265, allocations: 121.3 kB / 270.3 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.00427, allocations: 192 / 270.3 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-06/0.004275, allocations: 384 / 270.3 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.004279, allocations: 384 / 270.3 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.648e-05/0.004296, allocations: 15.88 kB / 270.3 MB, free: 4.164 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.925e-05/0.004385, allocations: 109.2 kB / 270.4 MB, free: 4.031 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.962e-05/0.004475, allocations: 59.19 kB / 270.5 MB, free: 3.961 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.438e-05/0.004499, allocations: 27.72 kB / 270.5 MB, free: 3.93 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-06/0.004507, allocations: 4 kB / 270.5 MB, free: 3.926 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.004529, allocations: 41.33 kB / 270.6 MB, free: 3.875 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 7.71e-07/0.00453, allocations: 0 / 270.6 MB, free: 3.875 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001146/0.004645, allocations: 69.62 kB / 270.6 MB, free: 3.801 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.004684, allocations: 55.41 kB / 270.7 MB, free: 3.734 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.682e-05/0.004771, allocations: 189.2 kB / 270.9 MB, free: 3.535 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.00478, allocations: 29.7 kB / 270.9 MB, free: 3.5 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.004817, allocations: 134.9 kB / 271 MB, free: 3.363 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.348e-06/0.004827, allocations: 0 / 271 MB, free: 3.363 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.004862, allocations: 27.31 kB / 271.1 MB, free: 3.328 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.004976, allocations: 0.4961 MB / 271.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/0.004985, allocations: 0 / 271.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-06/0.004993, allocations: 3.938 kB / 271.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.355e-05/0.005016, allocations: 11.69 kB / 271.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.005018, allocations: 0 / 271.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.997e-05/0.005068, allocations: 37.7 kB / 271.6 MB, free: 2.758 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.005081, allocations: 8 kB / 271.6 MB, free: 2.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.005086, allocations: 0 / 271.6 MB, free: 2.75 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.005098, allocations: 3.938 kB / 271.6 MB, free: 2.746 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.198e-05/0.00511, allocations: 4.094 kB / 271.6 MB, free: 2.742 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.005112, allocations: 0 / 271.6 MB, free: 2.742 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.28e-05/0.005125, allocations: 3.984 kB / 271.6 MB, free: 2.738 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.00513, allocations: 3.938 kB / 271.6 MB, free: 2.734 MB / 250.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: 2 ($CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * 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 8.33e-05/0.005213, allocations: 168.5 kB / 271.8 MB, free: 2.559 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.005277, allocations: 61.64 kB / 271.9 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/0.005311, allocations: 12.44 kB / 271.9 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.005314, allocations: 0 / 271.9 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.005316, allocations: 0 / 271.9 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.00532, allocations: 0 / 271.9 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.328e-05/0.005383, allocations: 113.1 kB / 272 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.005385, allocations: 0 / 272 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.317e-06/0.005394, allocations: 4 kB / 272 MB, free: 2.336 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.005396, allocations: 0 / 272 MB, free: 2.336 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.005402, allocations: 4 kB / 272 MB, free: 2.332 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.005403, allocations: 0 / 272 MB, free: 2.332 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.005404, allocations: 0 / 272 MB, free: 2.332 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.822e-05/0.005452, allocations: 80.3 kB / 272.1 MB, free: 2.23 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.784e-05/0.00548, allocations: 7.953 kB / 272.1 MB, free: 2.223 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.005494, allocations: 4 kB / 272.1 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.269e-05/0.005507, allocations: 4 kB / 272.1 MB, free: 2.215 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-06/0.005511, allocations: 7.984 kB / 272.1 MB, free: 2.207 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.005513, allocations: 0 / 272.1 MB, free: 2.207 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.842e-05/0.005562, allocations: 139.1 kB / 272.2 MB, free: 2.07 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005562, allocations: 0 / 272.2 MB, free: 2.07 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001099/0.005672, allocations: 8 kB / 272.2 MB, free: 2.062 MB / 250.7 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,xor.u1,xor.u2,xor.y,integerConstant.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 9.019e-05/0.005762, allocations: 99.23 kB / 272.3 MB, free: 1.957 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.744e-05/0.005829, allocations: 31.98 kB / 272.4 MB, free: 1.922 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.005831, allocations: 0 / 272.4 MB, free: 1.922 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.005832, allocations: 0 / 272.4 MB, free: 1.922 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.006042, allocations: 49.19 kB / 272.4 MB, free: 1.875 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001816/0.006224, allocations: 147.4 kB / 272.6 MB, free: 1.703 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.951e-05/0.006253, allocations: 67.34 kB / 272.6 MB, free: 1.617 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.424e-05/0.006267, allocations: 3.984 kB / 272.6 MB, free: 1.613 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.006314, allocations: 82.08 kB / 272.7 MB, free: 1.531 MB / 250.7 MB Notification: Performance of SimCode: time 8.42e-07/0.006315, allocations: 0 / 272.7 MB, free: 1.531 MB / 250.7 MB Notification: Performance of Templates: time 0.002112/0.008427, allocations: 0.6744 MB / 273.4 MB, free: 0.875 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.56969285197556]