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.001924/0.001924, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.00238/0.00238, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 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 1.476/1.476, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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 1.883e-06/1.883e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.259e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002201/0.002234, allocations: 0.8873 MB / 273.2 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003695/0.002603, allocations: 107.6 kB / 273.3 MB, free: 0.832 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.106e-05/0.002674, allocations: 3.938 kB / 273.3 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.151e-05/0.002726, allocations: 11.94 kB / 273.3 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.002852, allocations: 11.92 kB / 273.3 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.003075, allocations: 35.89 kB / 273.4 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.003178, allocations: 35.86 kB / 273.4 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.38e-05/0.003271, allocations: 23.91 kB / 273.4 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.923e-05/0.003341, allocations: 23.92 kB / 273.5 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.228e-05/0.003373, allocations: 11.98 kB / 273.5 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.003392, allocations: 4 kB / 273.5 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.003402, allocations: 4 kB / 273.5 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.003456, allocations: 19.91 kB / 273.5 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.529e-05/0.003501, allocations: 7.938 kB / 273.5 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.003619, allocations: 51.86 kB / 273.6 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003621, allocations: 0 / 273.6 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.003622, allocations: 0 / 273.6 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.307e-06/0.003625, allocations: 0 / 273.6 MB, free: 0.5898 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.0004145/0.004039, allocations: 294.1 kB / 273.8 MB, free: 276 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.004072, allocations: 8.031 kB / 273.8 MB, free: 268 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.004118, allocations: 12.89 kB / 273.9 MB, free: 256 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.004357, allocations: 141.5 kB / 274 MB, free: 88 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.00437, allocations: 8.312 kB / 274 MB, free: 80 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.004384, allocations: 12.38 kB / 274 MB, free: 68 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005327/0.004917, allocations: 119.9 kB / 274.1 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.004923, allocations: 192 / 274.1 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.004934, allocations: 4.375 kB / 274.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.004938, allocations: 384 / 274.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.185e-05/0.00499, allocations: 23.86 kB / 274.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.005139, allocations: 121.2 kB / 274.3 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.005279, allocations: 58.72 kB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.557e-05/0.005345, allocations: 36.89 kB / 274.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.005355, allocations: 4 kB / 274.4 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.005391, allocations: 34.5 kB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.005392, allocations: 0 / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002157/0.005608, allocations: 85.64 kB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.00567, allocations: 59.41 kB / 274.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.005813, allocations: 137.8 kB / 274.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.005831, allocations: 25.7 kB / 274.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.00589, allocations: 88.14 kB / 274.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.06e-05/0.005901, allocations: 7.953 kB / 274.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.005935, allocations: 17.66 kB / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.006104, allocations: 318.8 kB / 275.1 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.006116, allocations: 4 kB / 275.1 MB, free: 14.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-06/0.006124, allocations: 3.938 kB / 275.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.721e-05/0.006152, allocations: 12.86 kB / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.006153, allocations: 0 / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.53e-05/0.006218, allocations: 41.7 kB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.006233, allocations: 7.984 kB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.006237, allocations: 96 / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.006248, allocations: 4 kB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.02e-05/0.006258, allocations: 0 / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.006262, allocations: 0 / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.006286, allocations: 11.94 kB / 275.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.00629, allocations: 0 / 275.2 MB, free: 14.74 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 0.0001018/0.006391, allocations: 117.8 kB / 275.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.006502, allocations: 77.62 kB / 275.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.006535, allocations: 12.42 kB / 275.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.006539, allocations: 4 kB / 275.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.006546, allocations: 3.984 kB / 275.4 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.006551, allocations: 7.938 kB / 275.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.006658, allocations: 113.3 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006659, allocations: 0 / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.678e-06/0.006668, allocations: 0 / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.00667, allocations: 0 / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.006681, allocations: 8 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.006682, allocations: 0 / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.006683, allocations: 0 / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.00683, allocations: 101 kB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.006875, allocations: 19.94 kB / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.006891, allocations: 0 / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.538e-05/0.006906, allocations: 4 kB / 275.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-06/0.006909, allocations: 0 / 275.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.006913, allocations: 4 kB / 275.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.633e-05/0.006999, allocations: 107 kB / 275.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.006999, allocations: 4 kB / 275.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001917/0.007191, allocations: 4 kB / 275.8 MB, free: 14.1 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 0.000115/0.007306, allocations: 111.1 kB / 275.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.771e-05/0.007393, allocations: 23.92 kB / 275.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007395, allocations: 4.062 kB / 275.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.007395, allocations: 4 kB / 275.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.007683, allocations: 39.25 kB / 276 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000319/0.008002, allocations: 169.7 kB / 276.1 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.875e-05/0.008101, allocations: 79.52 kB / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.612e-05/0.008117, allocations: 7.938 kB / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.008147, allocations: 8.5 kB / 276.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of SimCode: time 3.81e-07/0.008147, allocations: 0 / 276.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of Templates: time 0.003091/0.01124, allocations: 0.6313 MB / 276.9 MB, free: 12.99 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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/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: 4.285955964005552]