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.001824/0.001824, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002142/0.002142, allocations: 211 kB / 24.48 MB, free: 3.938 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.63/1.63, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001635/0.001635, allocations: 51.92 kB / 378.9 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2281, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002335/0.2305, allocations: 0.887 MB / 433.2 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00033/0.2308, allocations: 111.6 kB / 433.3 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.906e-05/0.2309, allocations: 3.938 kB / 433.3 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.313e-05/0.2309, allocations: 3.938 kB / 433.3 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.231, allocations: 15.92 kB / 433.3 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.2312, allocations: 35.89 kB / 433.4 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.779e-05/0.2313, allocations: 43.86 kB / 433.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.68e-05/0.2314, allocations: 23.78 kB / 433.4 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.125e-05/0.2315, allocations: 11.94 kB / 433.5 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.992e-05/0.2315, allocations: 11.92 kB / 433.5 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.2315, allocations: 4 kB / 433.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.2315, allocations: 7.938 kB / 433.5 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.642e-05/0.2316, allocations: 15.97 kB / 433.5 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.2316, allocations: 19.86 kB / 433.5 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.2317, allocations: 51.42 kB / 433.6 MB, free: 5.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2317, allocations: 0 / 433.6 MB, free: 5.496 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2317, allocations: 0 / 433.6 MB, free: 5.496 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.2317, allocations: 4 kB / 433.6 MB, free: 5.492 MB / 334.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.0003864/0.2321, allocations: 293.2 kB / 433.8 MB, free: 5.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2321, allocations: 12.03 kB / 433.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.2322, allocations: 8.891 kB / 433.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.2324, allocations: 142.2 kB / 434 MB, free: 4.992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-06/0.2324, allocations: 8.375 kB / 434 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.2324, allocations: 4.375 kB / 434 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.2327, allocations: 127.8 kB / 434.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2327, allocations: 8.125 kB / 434.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-06/0.2327, allocations: 3.938 kB / 434.2 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2327, allocations: 0 / 434.2 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.497e-05/0.2327, allocations: 19.98 kB / 434.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.2329, allocations: 113.2 kB / 434.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.233, allocations: 62.72 kB / 434.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/0.233, allocations: 32.89 kB / 434.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.2331, allocations: 3.938 kB / 434.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.2331, allocations: 34.56 kB / 434.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.2331, allocations: 0 / 434.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001923/0.2333, allocations: 97.55 kB / 434.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.2333, allocations: 55.41 kB / 434.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.2335, allocations: 136.1 kB / 434.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.2335, allocations: 29.64 kB / 434.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.2335, allocations: 84.14 kB / 434.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.2335, allocations: 7.953 kB / 434.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.834e-05/0.2336, allocations: 33.7 kB / 434.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.2337, allocations: 310.8 kB / 435.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/0.2337, allocations: 15.92 kB / 435.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.17e-05/0.2338, allocations: 58.88 kB / 435.2 MB, free: 3.633 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.704e-05/0.2339, allocations: 74.73 kB / 435.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2339, allocations: 0 / 435.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001252/0.234, allocations: 89.52 kB / 435.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.234, allocations: 8 kB / 435.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.234, allocations: 4 kB / 435.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.234, allocations: 11.88 kB / 435.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.856e-05/0.2341, allocations: 7.984 kB / 435.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2341, allocations: 0 / 435.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.2341, allocations: 4 kB / 435.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.2341, allocations: 4.25 kB / 435.4 MB, free: 3.402 MB / 334.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 9.75e-05/0.2342, allocations: 133.7 kB / 435.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.889e-05/0.2343, allocations: 69.95 kB / 435.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.2343, allocations: 16.36 kB / 435.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2343, allocations: 3.938 kB / 435.6 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.2343, allocations: 3.984 kB / 435.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2343, allocations: 0 / 435.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.786e-05/0.2344, allocations: 109.3 kB / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2344, allocations: 0 / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.163e-05/0.2344, allocations: 4 kB / 435.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.2344, allocations: 4 kB / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.2344, allocations: 192 / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2345, allocations: 0 / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.2345, allocations: 11.81 kB / 435.8 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.2346, allocations: 105.1 kB / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.2346, allocations: 19.94 kB / 435.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.2346, allocations: 0 / 435.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.416e-05/0.2347, allocations: 0 / 435.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-06/0.2347, allocations: 3.938 kB / 435.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.2347, allocations: 4 kB / 435.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.027e-05/0.2347, allocations: 110.1 kB / 436 MB, free: 2.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2347, allocations: 4 kB / 436 MB, free: 2.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002008/0.2349, allocations: 12 kB / 436 MB, free: 2.734 MB / 334.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 8.814e-05/0.235, allocations: 95.25 kB / 436.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.2351, allocations: 43.86 kB / 436.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2351, allocations: 0 / 436.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.2351, allocations: 0 / 436.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.2354, allocations: 47.08 kB / 436.2 MB, free: 2.547 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.2357, allocations: 183.2 kB / 436.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.191e-05/0.2358, allocations: 87.25 kB / 436.5 MB, free: 2.227 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.2358, allocations: 11.44 kB / 436.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2358, allocations: 0 / 436.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of Templates: time 0.002217/0.238, allocations: 0.797 MB / 437.3 MB, free: 1.418 MB / 334.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.847340343054384]