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.0009981/0.0009981, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001173/0.001173, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.9979/0.9979, allocations: 173.3 MB / 201.1 MB, free: 9.336 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.314e-06/2.314e-06, allocations: 0 / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.145e-05/3.376e-05, allocations: 6.312 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002668/0.002702, allocations: 0.9018 MB / 268.9 MB, free: 5.527 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005354/0.003238, allocations: 119.5 kB / 269 MB, free: 5.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.00337, allocations: 8 kB / 269 MB, free: 5.402 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.974e-05/0.00346, allocations: 3.938 kB / 269 MB, free: 5.398 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.003652, allocations: 11.92 kB / 269 MB, free: 5.387 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.003956, allocations: 35.84 kB / 269.1 MB, free: 5.352 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.004106, allocations: 43.84 kB / 269.1 MB, free: 5.309 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.004231, allocations: 15.97 kB / 269.1 MB, free: 5.293 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.427e-05/0.004296, allocations: 19.98 kB / 269.1 MB, free: 5.273 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.772e-05/0.004333, allocations: 15.92 kB / 269.2 MB, free: 5.258 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.004359, allocations: 4 kB / 269.2 MB, free: 5.254 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.41e-05/0.004373, allocations: 4 kB / 269.2 MB, free: 5.25 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.004431, allocations: 19.92 kB / 269.2 MB, free: 5.23 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.46e-05/0.004475, allocations: 15.92 kB / 269.2 MB, free: 5.215 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.004621, allocations: 39.77 kB / 269.2 MB, free: 5.176 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.004624, allocations: 0 / 269.2 MB, free: 5.176 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.004625, allocations: 0 / 269.2 MB, free: 5.176 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.004631, allocations: 0 / 269.2 MB, free: 5.176 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.0005156/0.005146, allocations: 396.4 kB / 269.6 MB, free: 4.75 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.005195, allocations: 8.922 kB / 269.6 MB, free: 4.742 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.553e-05/0.00525, allocations: 16.89 kB / 269.7 MB, free: 4.727 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.005478, allocations: 124.6 kB / 269.8 MB, free: 4.578 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.0055, allocations: 12.38 kB / 269.8 MB, free: 4.566 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.005518, allocations: 384 / 269.8 MB, free: 4.566 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.005809, allocations: 133.2 kB / 269.9 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.005822, allocations: 192 / 269.9 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.005834, allocations: 4.375 kB / 269.9 MB, free: 4.418 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.005845, allocations: 384 / 269.9 MB, free: 4.418 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.471e-05/0.005879, allocations: 15.92 kB / 269.9 MB, free: 4.402 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.006023, allocations: 136.5 kB / 270.1 MB, free: 4.234 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.006184, allocations: 63.12 kB / 270.1 MB, free: 4.16 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.236e-05/0.006236, allocations: 35.72 kB / 270.2 MB, free: 4.121 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-06/0.006246, allocations: 4 kB / 270.2 MB, free: 4.117 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.00627, allocations: 33.39 kB / 270.2 MB, free: 4.074 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.006272, allocations: 0 / 270.2 MB, free: 4.074 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001987/0.00647, allocations: 77.58 kB / 270.3 MB, free: 3.992 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.006523, allocations: 55.41 kB / 270.3 MB, free: 3.926 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.006674, allocations: 193.5 kB / 270.5 MB, free: 3.723 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.00669, allocations: 29.7 kB / 270.5 MB, free: 3.688 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.00675, allocations: 134.9 kB / 270.7 MB, free: 3.551 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.006767, allocations: 3.984 kB / 270.7 MB, free: 3.547 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.006816, allocations: 27.33 kB / 270.7 MB, free: 3.512 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.006995, allocations: 496.1 kB / 271.2 MB, free: 3.016 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.007007, allocations: 0 / 271.2 MB, free: 3.016 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-06/0.007014, allocations: 0 / 271.2 MB, free: 3.016 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.314e-05/0.007047, allocations: 19.67 kB / 271.2 MB, free: 2.992 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.00705, allocations: 0 / 271.2 MB, free: 2.992 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.735e-05/0.007127, allocations: 37.64 kB / 271.3 MB, free: 2.949 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.007143, allocations: 14.91 kB / 271.3 MB, free: 2.938 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.007148, allocations: 0 / 271.3 MB, free: 2.938 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.007169, allocations: 3.938 kB / 271.3 MB, free: 2.934 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.493e-05/0.007184, allocations: 0 / 271.3 MB, free: 2.934 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.00719, allocations: 0 / 271.3 MB, free: 2.934 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.26e-05/0.007213, allocations: 3.938 kB / 271.3 MB, free: 2.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.00722, allocations: 4 kB / 271.3 MB, free: 2.926 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 0.000104/0.007324, allocations: 160.6 kB / 271.4 MB, free: 2.758 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.007434, allocations: 65.64 kB / 271.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.012e-05/0.007484, allocations: 16.42 kB / 271.5 MB, free: 2.668 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.007488, allocations: 11.94 kB / 271.5 MB, free: 2.656 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.007492, allocations: 0 / 271.5 MB, free: 2.656 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.007497, allocations: 3.938 kB / 271.5 MB, free: 2.652 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.007602, allocations: 124.6 kB / 271.7 MB, free: 2.496 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.007605, allocations: 0 / 271.7 MB, free: 2.496 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.485e-05/0.007619, allocations: 8 kB / 271.7 MB, free: 2.488 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.007623, allocations: 0 / 271.7 MB, free: 2.488 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.007632, allocations: 0 / 271.7 MB, free: 2.488 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.007634, allocations: 0 / 271.7 MB, free: 2.488 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.007638, allocations: 3.984 kB / 271.7 MB, free: 2.484 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.007783, allocations: 104.7 kB / 271.8 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.007829, allocations: 19.95 kB / 271.8 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.007858, allocations: 3.984 kB / 271.8 MB, free: 2.336 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.352e-05/0.007881, allocations: 3.938 kB / 271.8 MB, free: 2.332 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-06/0.007885, allocations: 0 / 271.8 MB, free: 2.332 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.007892, allocations: 4 kB / 271.8 MB, free: 2.328 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.11e-05/0.007973, allocations: 135.2 kB / 271.9 MB, free: 2.195 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007973, allocations: 4 kB / 271.9 MB, free: 2.191 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003504/0.008324, allocations: 8 kB / 271.9 MB, free: 2.184 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 0.0001389/0.008463, allocations: 99.19 kB / 272 MB, free: 2.078 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.008588, allocations: 31.67 kB / 272.1 MB, free: 2.043 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.00859, allocations: 0 / 272.1 MB, free: 2.043 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.008591, allocations: 0 / 272.1 MB, free: 2.043 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.009021, allocations: 42.48 kB / 272.1 MB, free: 2 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.009393, allocations: 158.5 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.715e-05/0.009451, allocations: 67.33 kB / 272.3 MB, free: 1.734 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.81e-05/0.009469, allocations: 4 kB / 272.3 MB, free: 1.73 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.009501, allocations: 12.44 kB / 272.3 MB, free: 1.715 MB / 250.7 MB Notification: Performance of SimCode: time 1.092e-06/0.009502, allocations: 0 / 272.3 MB, free: 1.715 MB / 250.7 MB Notification: Performance of Templates: time 0.003381/0.01288, allocations: 0.6299 MB / 273 MB, free: 1.094 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.738323267083615]