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.001107/0.001107, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001336/0.001336, allocations: 174.5 kB / 24.91 MB, free: 8.773 MB / 18.57 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 0.9803/0.9803, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] 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 5.49e-06/5.49e-06, allocations: 3.938 kB / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104e-05/1.653e-05, allocations: 2.312 kB / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001379/0.001395, allocations: 0.9081 MB / 274.3 MB, free: 276 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002508/0.001646, allocations: 119.5 kB / 274.5 MB, free: 156 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.875e-05/0.001705, allocations: 3.938 kB / 274.5 MB, free: 152 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.001741, allocations: 7.938 kB / 274.5 MB, free: 144 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.001845, allocations: 11.88 kB / 274.5 MB, free: 132 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.001999, allocations: 39.83 kB / 274.5 MB, free: 92 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.631e-05/0.002066, allocations: 39.91 kB / 274.6 MB, free: 52 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.002113, allocations: 12 kB / 274.6 MB, free: 40 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.118e-05/0.002154, allocations: 31.89 kB / 274.6 MB, free: 8 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.656e-05/0.002191, allocations: 15.92 kB / 274.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.002209, allocations: 4 kB / 274.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/0.002218, allocations: 4 kB / 274.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.257e-05/0.00225, allocations: 8 kB / 274.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.002271, allocations: 15.92 kB / 274.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.103e-05/0.002352, allocations: 39.81 kB / 274.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.002353, allocations: 0 / 274.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.002354, allocations: 0 / 274.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.002357, allocations: 4 kB / 274.7 MB, free: 15.92 MB / 266.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.0002221/0.002579, allocations: 276.6 kB / 275 MB, free: 15.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.728e-05/0.002606, allocations: 8.031 kB / 275 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.214e-05/0.002629, allocations: 4.938 kB / 275 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.002745, allocations: 133.7 kB / 275.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.981e-06/0.002751, allocations: 384 / 275.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.00276, allocations: 4.375 kB / 275.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.002886, allocations: 123.7 kB / 275.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.002893, allocations: 4.125 kB / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-06/0.002898, allocations: 384 / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.002903, allocations: 384 / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.918e-05/0.002922, allocations: 11.94 kB / 275.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.423e-05/0.002976, allocations: 60.98 kB / 275.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.676e-05/0.003053, allocations: 50.48 kB / 275.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.003075, allocations: 24.84 kB / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.003081, allocations: 4 kB / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.003096, allocations: 34.56 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 6.41e-07/0.003097, allocations: 0 / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 8.709e-05/0.003184, allocations: 61.61 kB / 275.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.003223, allocations: 63.39 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.985e-05/0.003282, allocations: 130.5 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.003291, allocations: 25.7 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.119e-05/0.003312, allocations: 84.14 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.046e-05/0.003323, allocations: 7.953 kB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.003343, allocations: 17.7 kB / 275.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.891e-05/0.003412, allocations: 322.8 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.166e-06/0.003415, allocations: 0 / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-06/0.00342, allocations: 4 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.648e-05/0.003436, allocations: 12.8 kB / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.003438, allocations: 0 / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.022e-05/0.003468, allocations: 37.69 kB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.003478, allocations: 4 kB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.003481, allocations: 0 / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/0.003488, allocations: 0 / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.396e-06/0.003497, allocations: 4 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-06/0.003499, allocations: 0 / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.965e-06/0.003507, allocations: 4.094 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-06/0.00351, allocations: 0 / 276.2 MB, free: 14.27 MB / 266.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 5.081e-05/0.003561, allocations: 120.6 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.003594, allocations: 57.59 kB / 276.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.003621, allocations: 16.42 kB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.003622, allocations: 0 / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.003624, allocations: 0 / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.003627, allocations: 0 / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.605e-05/0.003673, allocations: 73.83 kB / 276.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.003674, allocations: 4 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.659e-06/0.003679, allocations: 8 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.00368, allocations: 0 / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-06/0.003683, allocations: 0 / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.003684, allocations: 7.938 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.51e-07/0.003685, allocations: 0 / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.309e-05/0.003718, allocations: 61 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.00374, allocations: 11.95 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.003753, allocations: 4 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.125e-06/0.003761, allocations: 0 / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.834e-06/0.003763, allocations: 0 / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.003766, allocations: 4 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.739e-05/0.003783, allocations: 28.77 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003783, allocations: 0 / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 9.168e-05/0.003875, allocations: 8 kB / 276.6 MB, free: 13.81 MB / 266.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 6.5e-05/0.00394, allocations: 84.41 kB / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.887e-05/0.003989, allocations: 12.86 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.003991, allocations: 7.938 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.003991, allocations: 0 / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.004114, allocations: 34.48 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001666/0.004281, allocations: 157.2 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.966e-05/0.004311, allocations: 63.34 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.12e-05/0.004322, allocations: 7.984 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.004362, allocations: 55.38 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of SimCode: time 3.51e-07/0.004363, allocations: 0 / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of Templates: time 0.001845/0.006208, allocations: 0.6704 MB / 277.7 MB, free: 12.68 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7193724010139704]