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.001877/0.001877, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.001976/0.001976, allocations: 153.1 kB / 24.27 MB, free: 168 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 1.496/1.496, allocations: 173.4 MB / 200.8 MB, free: 9.336 MB / 186.7 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 1.774e-06/1.774e-06, allocations: 0 / 267.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.859e-05, allocations: 6.25 kB / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002378/0.002406, allocations: 0.8858 MB / 268.2 MB, free: 5.871 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003938/0.0028, allocations: 119.5 kB / 268.3 MB, free: 5.754 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.217e-05/0.002872, allocations: 7.938 kB / 268.3 MB, free: 5.746 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.482e-05/0.002927, allocations: 3.938 kB / 268.3 MB, free: 5.742 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.003047, allocations: 7.922 kB / 268.3 MB, free: 5.734 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.003289, allocations: 35.89 kB / 268.4 MB, free: 5.699 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.003394, allocations: 39.86 kB / 268.4 MB, free: 5.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.003503, allocations: 27.86 kB / 268.4 MB, free: 5.633 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.278e-05/0.003555, allocations: 15.98 kB / 268.5 MB, free: 5.617 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.356e-05/0.003589, allocations: 19.92 kB / 268.5 MB, free: 5.598 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.003611, allocations: 4 kB / 268.5 MB, free: 5.594 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.4e-05/0.003625, allocations: 4 kB / 268.5 MB, free: 5.59 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.003676, allocations: 15.92 kB / 268.5 MB, free: 5.574 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.00371, allocations: 15.92 kB / 268.5 MB, free: 5.559 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.003836, allocations: 43.86 kB / 268.6 MB, free: 5.516 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.003841, allocations: 4 kB / 268.6 MB, free: 5.512 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.003841, allocations: 0 / 268.6 MB, free: 5.512 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.003846, allocations: 0 / 268.6 MB, free: 5.512 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.0005095/0.004355, allocations: 400 kB / 269 MB, free: 5.082 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.00439, allocations: 8.922 kB / 269 MB, free: 5.074 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.00444, allocations: 16.89 kB / 269 MB, free: 5.059 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.004662, allocations: 140.4 kB / 269.1 MB, free: 4.895 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.004675, allocations: 4.375 kB / 269.1 MB, free: 4.891 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.004689, allocations: 8.375 kB / 269.1 MB, free: 4.883 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.004982, allocations: 129.5 kB / 269.3 MB, free: 4.742 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.004994, allocations: 4.125 kB / 269.3 MB, free: 4.738 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.005011, allocations: 8.375 kB / 269.3 MB, free: 4.73 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.005015, allocations: 384 / 269.3 MB, free: 4.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.938e-05/0.005065, allocations: 19.92 kB / 269.3 MB, free: 4.711 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.005234, allocations: 140.5 kB / 269.4 MB, free: 4.539 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.005409, allocations: 67.2 kB / 269.5 MB, free: 4.461 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.432e-05/0.005483, allocations: 39.72 kB / 269.5 MB, free: 4.418 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.005497, allocations: 3.938 kB / 269.5 MB, free: 4.414 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.005526, allocations: 37.39 kB / 269.6 MB, free: 4.367 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.005527, allocations: 0 / 269.6 MB, free: 4.367 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002261/0.005753, allocations: 89.62 kB / 269.7 MB, free: 4.273 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.077e-05/0.005844, allocations: 63.41 kB / 269.7 MB, free: 4.199 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.006036, allocations: 193.8 kB / 269.9 MB, free: 3.992 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.006061, allocations: 37.69 kB / 269.9 MB, free: 3.949 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.006138, allocations: 130.7 kB / 270.1 MB, free: 3.816 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.006151, allocations: 4 kB / 270.1 MB, free: 3.812 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/0.0062, allocations: 31.33 kB / 270.1 MB, free: 3.773 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002585/0.006458, allocations: 496.1 kB / 270.6 MB, free: 3.277 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.006472, allocations: 7.938 kB / 270.6 MB, free: 3.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.776e-06/0.006481, allocations: 4 kB / 270.6 MB, free: 3.266 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.531e-05/0.006516, allocations: 11.75 kB / 270.6 MB, free: 3.25 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006517, allocations: 4 kB / 270.6 MB, free: 3.246 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.302e-05/0.00659, allocations: 45.64 kB / 270.7 MB, free: 3.195 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.006603, allocations: 4 kB / 270.7 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.006608, allocations: 0 / 270.7 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.00662, allocations: 0 / 270.7 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.136e-05/0.006632, allocations: 0 / 270.7 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.006644, allocations: 11.92 kB / 270.7 MB, free: 3.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.724e-05/0.006661, allocations: 3.938 kB / 270.7 MB, free: 3.176 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.006665, allocations: 0 / 270.7 MB, free: 3.176 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.0001221/0.006787, allocations: 164.6 kB / 270.8 MB, free: 3.004 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.006908, allocations: 73.64 kB / 270.9 MB, free: 2.926 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.848e-05/0.006946, allocations: 8.438 kB / 270.9 MB, free: 2.914 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006948, allocations: 0 / 270.9 MB, free: 2.914 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.006951, allocations: 0 / 270.9 MB, free: 2.914 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.006956, allocations: 7.938 kB / 270.9 MB, free: 2.906 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.007077, allocations: 124.6 kB / 271.1 MB, free: 2.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.007078, allocations: 0 / 271.1 MB, free: 2.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.585e-05/0.007094, allocations: 7.984 kB / 271.1 MB, free: 2.742 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.007096, allocations: 0 / 271.1 MB, free: 2.742 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.007106, allocations: 4 kB / 271.1 MB, free: 2.738 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.00711, allocations: 7.938 kB / 271.1 MB, free: 2.73 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007111, allocations: 0 / 271.1 MB, free: 2.73 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.007284, allocations: 120.3 kB / 271.2 MB, free: 2.59 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.007325, allocations: 15.92 kB / 271.2 MB, free: 2.574 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.007341, allocations: 4 kB / 271.2 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.759e-05/0.007358, allocations: 4 kB / 271.2 MB, free: 2.566 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-06/0.007361, allocations: 0 / 271.2 MB, free: 2.566 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.007365, allocations: 0 / 271.2 MB, free: 2.566 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.887e-05/0.007464, allocations: 146.3 kB / 271.4 MB, free: 2.426 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007464, allocations: 0 / 271.4 MB, free: 2.426 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000178/0.007642, allocations: 8 kB / 271.4 MB, free: 2.418 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.0001767/0.007818, allocations: 103.2 kB / 271.5 MB, free: 2.309 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.00793, allocations: 36.08 kB / 271.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.007932, allocations: 0 / 271.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-07/0.007933, allocations: 0 / 271.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.008231, allocations: 46.69 kB / 271.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.008558, allocations: 175.3 kB / 271.7 MB, free: 2.023 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.109e-05/0.008649, allocations: 87.2 kB / 271.8 MB, free: 1.918 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.224e-05/0.008661, allocations: 4.062 kB / 271.8 MB, free: 1.914 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.008697, allocations: 12.5 kB / 271.8 MB, free: 1.898 MB / 250.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008697, allocations: 0 / 271.8 MB, free: 1.898 MB / 250.7 MB Notification: Performance of Templates: time 0.00357/0.01227, allocations: 0.6221 MB / 272.4 MB, free: 1.289 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.176883534062654]