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.001391/0.001391, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001413/0.001413, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 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 0.9819/0.9819, allocations: 177.1 MB / 206.1 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] 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.814e-06/1.814e-06, allocations: 0 / 274.2 MB, free: 4.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.949e-05, allocations: 2.312 kB / 274.2 MB, free: 4.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001658/0.001678, allocations: 0.8964 MB / 275.1 MB, free: 3.559 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003131/0.001991, allocations: 120.3 kB / 275.2 MB, free: 3.441 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.949e-05/0.00208, allocations: 3.938 kB / 275.2 MB, free: 3.438 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.697e-05/0.002137, allocations: 4.438 kB / 275.2 MB, free: 3.434 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.002274, allocations: 16.8 kB / 275.2 MB, free: 3.418 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.002467, allocations: 31.91 kB / 275.3 MB, free: 3.387 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.331e-05/0.00256, allocations: 44.47 kB / 275.3 MB, free: 3.344 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.851e-05/0.002649, allocations: 15.98 kB / 275.3 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.752e-05/0.002696, allocations: 21.86 kB / 275.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.791e-05/0.002724, allocations: 15.91 kB / 275.3 MB, free: 3.293 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.002742, allocations: 4 kB / 275.4 MB, free: 3.289 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.002751, allocations: 4 kB / 275.4 MB, free: 3.285 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.002794, allocations: 11.98 kB / 275.4 MB, free: 3.273 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.002817, allocations: 12.66 kB / 275.4 MB, free: 3.262 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.831e-05/0.002915, allocations: 39.83 kB / 275.4 MB, free: 3.223 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.002917, allocations: 1.75 kB / 275.4 MB, free: 3.223 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.002917, allocations: 0 / 275.4 MB, free: 3.223 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.002922, allocations: 0 / 275.4 MB, free: 3.223 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.0003202/0.003242, allocations: 404.3 kB / 275.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.003273, allocations: 8.031 kB / 275.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.003311, allocations: 16.89 kB / 275.8 MB, free: 2.766 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.003453, allocations: 136.5 kB / 276 MB, free: 2.605 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.003464, allocations: 4.375 kB / 276 MB, free: 2.602 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.003473, allocations: 8.375 kB / 276 MB, free: 2.594 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.003624, allocations: 105.5 kB / 276.1 MB, free: 2.477 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.003631, allocations: 192 / 276.1 MB, free: 2.477 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.003638, allocations: 8.375 kB / 276.1 MB, free: 2.469 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.003643, allocations: 384 / 276.1 MB, free: 2.469 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.989e-05/0.003663, allocations: 27.78 kB / 276.1 MB, free: 2.441 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.398e-05/0.003747, allocations: 101.2 kB / 276.2 MB, free: 2.316 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004155/0.004163, allocations: 59.22 kB / 276.3 MB, free: 2.246 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.492e-05/0.004188, allocations: 23.67 kB / 276.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.004195, allocations: 7.984 kB / 276.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.004216, allocations: 41.33 kB / 276.4 MB, free: 2.16 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 6.81e-07/0.004217, allocations: 0 / 276.4 MB, free: 2.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001307/0.004347, allocations: 73.62 kB / 276.4 MB, free: 2.082 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.004388, allocations: 59.41 kB / 276.5 MB, free: 2.012 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.484e-05/0.004473, allocations: 185.9 kB / 276.7 MB, free: 1.812 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.168e-06/0.004482, allocations: 29.7 kB / 276.7 MB, free: 1.777 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.004517, allocations: 126.9 kB / 276.8 MB, free: 1.648 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/0.004529, allocations: 7.938 kB / 276.8 MB, free: 1.641 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.004555, allocations: 27.36 kB / 276.9 MB, free: 1.605 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.004668, allocations: 496.1 kB / 277.3 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.082e-06/0.004674, allocations: 4 kB / 277.3 MB, free: 1.105 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-06/0.004681, allocations: 7.938 kB / 277.3 MB, free: 1.098 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.951e-05/0.004701, allocations: 15.73 kB / 277.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.004702, allocations: 0 / 277.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.143e-05/0.004743, allocations: 37.69 kB / 277.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.004755, allocations: 8 kB / 277.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.004759, allocations: 0 / 277.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.004769, allocations: 0 / 277.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.638e-06/0.004779, allocations: 0 / 277.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.004781, allocations: 0 / 277.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.706e-06/0.00479, allocations: 0 / 277.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.004797, allocations: 7.938 kB / 277.4 MB, free: 1.02 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 6.877e-05/0.004866, allocations: 164.5 kB / 277.6 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.004909, allocations: 61.64 kB / 277.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/0.004937, allocations: 8.438 kB / 277.6 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.00494, allocations: 4 kB / 277.6 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.004942, allocations: 4 kB / 277.7 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.004945, allocations: 3.984 kB / 277.7 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.921e-05/0.005005, allocations: 109.1 kB / 277.8 MB, free: 0.625 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.005007, allocations: 4 kB / 277.8 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-06/0.005013, allocations: 7.922 kB / 277.8 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.41e-07/0.005013, allocations: 0 / 277.8 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-06/0.005017, allocations: 0 / 277.8 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.005018, allocations: 4 kB / 277.8 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005019, allocations: 0 / 277.8 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.879e-05/0.005058, allocations: 72.33 kB / 277.8 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.848e-05/0.005086, allocations: 15.94 kB / 277.9 MB, free: 0.5 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.005102, allocations: 4 kB / 277.9 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.497e-06/0.005111, allocations: 0 / 277.9 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-06/0.005114, allocations: 0 / 277.9 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.005116, allocations: 0 / 277.9 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.012e-05/0.005156, allocations: 142.1 kB / 278 MB, free: 368 kB / 250.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.005156, allocations: 0 / 278 MB, free: 368 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001164/0.005273, allocations: 4 kB / 278 MB, free: 364 kB / 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 6.838e-05/0.005341, allocations: 103.2 kB / 278.1 MB, free: 252 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.544e-05/0.005407, allocations: 31.59 kB / 278.1 MB, free: 216 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.005408, allocations: 0 / 278.1 MB, free: 216 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.005408, allocations: 0 / 278.1 MB, free: 216 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.005606, allocations: 38.42 kB / 278.2 MB, free: 176 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001991/0.005805, allocations: 151.5 kB / 278.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.036e-05/0.005836, allocations: 71.16 kB / 278.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.529e-05/0.005851, allocations: 4.062 kB / 278.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.005898, allocations: 74.2 kB / 278.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.005898, allocations: 0 / 278.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of Templates: time 0.002149/0.008048, allocations: 0.6767 MB / 279.2 MB, free: 15.16 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7292619519867003]