Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002207/0.002207, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.301/2.301, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 177] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 43.94 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3642, allocations: 53.36 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.003857/0.3681, allocations: 0.8675 MB / 433.2 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004736/0.3686, allocations: 119.5 kB / 433.3 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.3686, allocations: 4 kB / 433.3 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.513e-05/0.3687, allocations: 3.938 kB / 433.3 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.3688, allocations: 7.938 kB / 433.3 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.3691, allocations: 43.83 kB / 433.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.3693, allocations: 39.91 kB / 433.4 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.3694, allocations: 19.8 kB / 433.4 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.285e-05/0.3694, allocations: 19.86 kB / 433.4 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.518e-05/0.3695, allocations: 19.91 kB / 433.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.3695, allocations: 4 kB / 433.5 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.508e-05/0.3695, allocations: 4 kB / 433.5 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.524e-05/0.3696, allocations: 19.92 kB / 433.5 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.908e-05/0.3696, allocations: 15.88 kB / 433.5 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.3698, allocations: 62.77 kB / 433.6 MB, free: 5.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.3698, allocations: 4 kB / 433.6 MB, free: 5.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3698, allocations: 0 / 433.6 MB, free: 5.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3698, allocations: 0 / 433.6 MB, free: 5.48 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.000482/0.3703, allocations: 289.8 kB / 433.9 MB, free: 5.168 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3703, allocations: 8.031 kB / 433.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.509e-05/0.3703, allocations: 12.89 kB / 433.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.3707, allocations: 138.4 kB / 434 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-06/0.3707, allocations: 384 / 434 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.3707, allocations: 8.375 kB / 434 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.3711, allocations: 135.7 kB / 434.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3711, allocations: 192 / 434.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.3711, allocations: 3.938 kB / 434.2 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3711, allocations: 0 / 434.2 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.026e-05/0.3711, allocations: 15.98 kB / 434.2 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.3713, allocations: 117.3 kB / 434.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.3715, allocations: 62.66 kB / 434.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.662e-05/0.3716, allocations: 36.89 kB / 434.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.3716, allocations: 0 / 434.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.3716, allocations: 38.55 kB / 434.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.041e-06/0.3716, allocations: 0 / 434.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002701/0.3719, allocations: 89.52 kB / 434.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.372, allocations: 59.41 kB / 434.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.3722, allocations: 128.9 kB / 434.7 MB, free: 4.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.3722, allocations: 29.7 kB / 434.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.242e-05/0.3722, allocations: 92.12 kB / 434.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.3723, allocations: 7.953 kB / 434.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-05/0.3723, allocations: 25.72 kB / 434.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.3725, allocations: 318.8 kB / 435.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.271e-05/0.3725, allocations: 12 kB / 435.2 MB, free: 3.719 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.534e-05/0.3726, allocations: 58.8 kB / 435.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.3728, allocations: 74.75 kB / 435.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.3728, allocations: 0 / 435.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002068/0.373, allocations: 97.44 kB / 435.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.373, allocations: 4 kB / 435.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.373, allocations: 4 kB / 435.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.373, allocations: 16.11 kB / 435.4 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.334e-05/0.373, allocations: 4 kB / 435.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.3731, allocations: 7.938 kB / 435.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.072e-05/0.3731, allocations: 0 / 435.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.3731, allocations: 4 kB / 435.4 MB, free: 3.398 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 (integerConstant.y,xor.y,xor.u2,xor.u1,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.0001416/0.3733, allocations: 129.8 kB / 435.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.3734, allocations: 65.64 kB / 435.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.793e-05/0.3734, allocations: 16.38 kB / 435.6 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.3734, allocations: 7.875 kB / 435.6 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3734, allocations: 0 / 435.6 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3735, allocations: 4 kB / 435.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.3736, allocations: 109.3 kB / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3736, allocations: 0 / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.3736, allocations: 7.984 kB / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.3736, allocations: 0 / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3736, allocations: 4 kB / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.3736, allocations: 0 / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3736, allocations: 3.938 kB / 435.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.3738, allocations: 105.5 kB / 435.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/0.3739, allocations: 11.94 kB / 435.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.3739, allocations: 4 kB / 435.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.589e-05/0.3739, allocations: 4 kB / 435.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.3739, allocations: 11.88 kB / 435.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.3739, allocations: 0 / 435.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.374, allocations: 103.3 kB / 436 MB, free: 2.754 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.374, allocations: 0 / 436 MB, free: 2.754 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003654/0.3744, allocations: 4 kB / 436 MB, free: 2.75 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,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.000129/0.3745, allocations: 107.2 kB / 436.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.3747, allocations: 48.23 kB / 436.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3747, allocations: 0 / 436.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.82e-07/0.3747, allocations: 0 / 436.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.3751, allocations: 50.7 kB / 436.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003849/0.3755, allocations: 161.5 kB / 436.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.984e-05/0.3756, allocations: 75.33 kB / 436.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.281e-05/0.3756, allocations: 3.953 kB / 436.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.377e-05/0.3757, allocations: 15.38 kB / 436.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3757, allocations: 192 / 436.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of Templates: time 0.004159/0.3798, allocations: 0.7034 MB / 437.2 MB, free: 1.551 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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: 6.709935117993155]