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.001463/0.001463, allocations: 120.8 kB / 18.46 MB, free: 4.473 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.001517/0.001517, allocations: 190.9 kB / 21.4 MB, free: 1.535 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.426/1.426, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.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.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 0.001459/0.001459, allocations: 47.92 kB / 366.8 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08846/0.08992, allocations: 52.15 MB / 419 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002161/0.09208, allocations: 0.8646 MB / 419.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000351/0.09244, allocations: 123.6 kB / 419.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.353e-05/0.09251, allocations: 4 kB / 419.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.198e-05/0.09255, allocations: 3.938 kB / 419.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.09266, allocations: 3.938 kB / 420 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.09287, allocations: 35.89 kB / 420 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.09297, allocations: 47.84 kB / 420 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.399e-05/0.09306, allocations: 12 kB / 420 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.788e-05/0.0931, allocations: 15.92 kB / 420.1 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.424e-05/0.09313, allocations: 19.86 kB / 420.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.09315, allocations: 4 kB / 420.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.134e-05/0.09317, allocations: 4 kB / 420.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.541e-05/0.09321, allocations: 15.98 kB / 420.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.09325, allocations: 27.8 kB / 420.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.09337, allocations: 63.61 kB / 420.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.09338, allocations: 4 kB / 420.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09338, allocations: 0 / 420.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.09338, allocations: 0 / 420.2 MB, free: 10.87 MB / 350.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.0004269/0.09381, allocations: 367.1 kB / 420.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.09384, allocations: 12.03 kB / 420.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.09388, allocations: 8.891 kB / 420.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.09412, allocations: 196.2 kB / 420.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.09414, allocations: 12.25 kB / 420.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.09416, allocations: 8.375 kB / 420.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.09441, allocations: 127.8 kB / 420.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.09442, allocations: 4.172 kB / 420.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.09443, allocations: 7.938 kB / 420.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.09444, allocations: 7.984 kB / 420.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.038e-05/0.09448, allocations: 12 kB / 420.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.09465, allocations: 173.6 kB / 421.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.09479, allocations: 66.69 kB / 421.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/0.09484, allocations: 28.86 kB / 421.2 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.09486, allocations: 8 kB / 421.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.09488, allocations: 38.55 kB / 421.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.09488, allocations: 0 / 421.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001909/0.09507, allocations: 89.5 kB / 421.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.09513, allocations: 59.41 kB / 421.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.09525, allocations: 132.1 kB / 421.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.09527, allocations: 25.7 kB / 421.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.811e-05/0.09531, allocations: 92.14 kB / 421.6 MB, free: 9.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.248e-05/0.09533, allocations: 3.984 kB / 421.6 MB, free: 9.211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.09537, allocations: 29.67 kB / 421.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.0955, allocations: 318.8 kB / 422 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.09552, allocations: 11.94 kB / 422 MB, free: 8.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.602e-05/0.09557, allocations: 54.86 kB / 422.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.988e-05/0.09565, allocations: 74.75 kB / 422.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.09566, allocations: 4 kB / 422.1 MB, free: 8.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001259/0.09578, allocations: 85.5 kB / 422.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.0958, allocations: 7.984 kB / 422.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.09581, allocations: 7.938 kB / 422.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.09582, allocations: 0 / 422.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.766e-05/0.09584, allocations: 4.25 kB / 422.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.974e-06/0.09585, allocations: 11.94 kB / 422.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.635e-05/0.09588, allocations: 7.891 kB / 422.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.09589, allocations: 8 kB / 422.3 MB, free: 8.527 MB / 350.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 8.764e-05/0.09598, allocations: 121.8 kB / 422.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.778e-05/0.09607, allocations: 65.66 kB / 422.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.001e-05/0.09611, allocations: 20.3 kB / 422.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.09611, allocations: 192 / 422.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.09611, allocations: 3.938 kB / 422.5 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.09612, allocations: 7.938 kB / 422.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.09624, allocations: 173.7 kB / 422.6 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.09624, allocations: 0 / 422.6 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-05/0.09625, allocations: 3.984 kB / 422.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.09625, allocations: 0 / 422.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.09626, allocations: 3.938 kB / 422.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.09626, allocations: 4 kB / 422.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.09626, allocations: 0 / 422.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.09639, allocations: 105.1 kB / 422.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.096e-05/0.09646, allocations: 93.05 kB / 422.8 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.09647, allocations: 3.938 kB / 422.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.434e-05/0.09649, allocations: 0 / 422.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-06/0.09649, allocations: 0 / 422.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.0965, allocations: 7.938 kB / 422.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.373e-05/0.09657, allocations: 109.6 kB / 423 MB, free: 7.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09657, allocations: 0 / 423 MB, free: 7.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001971/0.09677, allocations: 8 kB / 423 MB, free: 7.711 MB / 350.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 9.998e-05/0.09687, allocations: 107.7 kB / 423.1 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.09699, allocations: 43.92 kB / 423.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.09699, allocations: 3.938 kB / 423.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.09699, allocations: 0 / 423.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.09727, allocations: 38.02 kB / 423.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/0.09757, allocations: 184.5 kB / 423.3 MB, free: 7.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.09788, allocations: 0.7007 MB / 424 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.09791, allocations: 11.44 kB / 424.1 MB, free: 6.566 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.09791, allocations: 0 / 424.1 MB, free: 6.566 MB / 350.1 MB Notification: Performance of Templates: time 0.002223/0.1001, allocations: 0.7967 MB / 424.9 MB, free: 5.77 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.1976864479947835]