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.001241/0.001241, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.001358/0.001358, allocations: 207.3 kB / 21.41 MB, free: 1.648 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 1.493/1.493, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.001507/0.001507, allocations: 47.92 kB / 374.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1245, allocations: 53.33 MB / 427.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002792/0.1273, allocations: 0.8688 MB / 428.3 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004587/0.1277, allocations: 115.7 kB / 428.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.1279, allocations: 3.938 kB / 428.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.901e-05/0.1279, allocations: 7.922 kB / 428.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.1281, allocations: 7.938 kB / 428.5 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.1284, allocations: 27.91 kB / 428.5 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1285, allocations: 47.91 kB / 428.6 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.1287, allocations: 23.92 kB / 428.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.587e-05/0.1287, allocations: 19.86 kB / 428.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.151e-05/0.1288, allocations: 19.86 kB / 428.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.1288, allocations: 4 kB / 428.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.506e-05/0.1288, allocations: 4 kB / 428.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.304e-05/0.1289, allocations: 15.94 kB / 428.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.1289, allocations: 23.8 kB / 428.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.1291, allocations: 55.73 kB / 428.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/0.1291, allocations: 0 / 428.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.248e-06/0.1291, allocations: 0 / 428.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.1291, allocations: 4 kB / 428.7 MB, free: 3.07 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.0006675/0.1298, allocations: 367.2 kB / 429.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.1298, allocations: 8.031 kB / 429.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.1299, allocations: 8.891 kB / 429.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.1303, allocations: 208.1 kB / 429.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.1303, allocations: 8.375 kB / 429.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.1303, allocations: 384 / 429.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.1306, allocations: 127.9 kB / 429.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1306, allocations: 192 / 429.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1307, allocations: 3.938 kB / 429.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.1307, allocations: 0 / 429.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.923e-05/0.1307, allocations: 27.92 kB / 429.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/0.131, allocations: 169.7 kB / 429.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.1312, allocations: 58.72 kB / 429.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.943e-05/0.1312, allocations: 36.89 kB / 429.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-06/0.1313, allocations: 0 / 429.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.1314, allocations: 38.5 kB / 429.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.81e-07/0.1314, allocations: 0 / 429.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003038/0.1317, allocations: 85.58 kB / 429.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.1317, allocations: 63.7 kB / 429.9 MB, free: 1.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.1319, allocations: 135.6 kB / 430 MB, free: 1.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.1319, allocations: 25.7 kB / 430.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.132, allocations: 84.14 kB / 430.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.132, allocations: 11.94 kB / 430.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.132, allocations: 29.7 kB / 430.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002344/0.1323, allocations: 314.8 kB / 430.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.568e-05/0.1323, allocations: 15.92 kB / 430.5 MB, free: 1.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-05/0.1324, allocations: 58.81 kB / 430.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.1325, allocations: 74.73 kB / 430.6 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1325, allocations: 0 / 430.6 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001398/0.1326, allocations: 89.64 kB / 430.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1327, allocations: 8 kB / 430.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1327, allocations: 3.938 kB / 430.7 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.1327, allocations: 4 kB / 430.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.675e-05/0.1327, allocations: 11.92 kB / 430.8 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1327, allocations: 3.984 kB / 430.8 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.1328, allocations: 11.94 kB / 430.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1328, allocations: 4 kB / 430.8 MB, free: 0.7383 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 0.0001121/0.1329, allocations: 125.9 kB / 430.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.685e-05/0.133, allocations: 69.64 kB / 431 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.937e-05/0.133, allocations: 16.31 kB / 431 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.133, allocations: 0 / 431 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.133, allocations: 0 / 431 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.133, allocations: 7.984 kB / 431 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.1332, allocations: 165.7 kB / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1332, allocations: 0 / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.338e-06/0.1332, allocations: 4 kB / 431.2 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1332, allocations: 3.984 kB / 431.2 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1332, allocations: 7.938 kB / 431.2 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1332, allocations: 4 kB / 431.2 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1332, allocations: 0 / 431.2 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.1333, allocations: 101 kB / 431.3 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.242e-05/0.1334, allocations: 93.05 kB / 431.4 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.1334, allocations: 7.938 kB / 431.4 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.552e-05/0.1335, allocations: 0 / 431.4 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-06/0.1335, allocations: 0 / 431.4 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.1335, allocations: 3.938 kB / 431.4 MB, free: 40 kB / 350.1 MB Notification: Performance of sorting global known variables: time 9.719e-05/0.1336, allocations: 113.3 kB / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1336, allocations: 0 / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001998/0.1338, allocations: 12 kB / 431.5 MB, free: 15.92 MB / 366.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.0001357/0.1339, allocations: 99.77 kB / 431.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.134, allocations: 47.84 kB / 431.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1341, allocations: 0.5 kB / 431.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.1341, allocations: 4 kB / 431.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.1344, allocations: 46.19 kB / 431.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.1347, allocations: 179.5 kB / 431.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.135, allocations: 0.6924 MB / 432.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.1351, allocations: 15.38 kB / 432.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1351, allocations: 0 / 432.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of Templates: time 0.002639/0.1377, allocations: 0.8009 MB / 433.4 MB, free: 13.97 MB / 366.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 -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.95385197098949]