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.0009865/0.0009865, allocations: 80.62 kB / 22.21 MB, free: 2.293 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.001189/0.001189, allocations: 149.3 kB / 25.6 MB, free: 8.5 MB / 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.035/1.035, allocations: 173.4 MB / 202.2 MB, free: 8.309 MB / 186.7 MB " [Timeout remaining time 179] 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.693e-06/1.693e-06, allocations: 0 / 269.2 MB, free: 9.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.674e-05, allocations: 6.312 kB / 269.2 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002566/0.002593, allocations: 0.9006 MB / 270.1 MB, free: 8.875 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004167/0.00301, allocations: 115.5 kB / 270.2 MB, free: 8.762 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.003135, allocations: 5.062 kB / 270.2 MB, free: 8.758 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.835e-05/0.003213, allocations: 7.922 kB / 270.2 MB, free: 8.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.003388, allocations: 7.938 kB / 270.2 MB, free: 8.742 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.003704, allocations: 36.92 kB / 270.3 MB, free: 8.707 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.003821, allocations: 43.84 kB / 270.3 MB, free: 8.664 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.00393, allocations: 20.92 kB / 270.3 MB, free: 8.645 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.228e-05/0.003992, allocations: 19.98 kB / 270.3 MB, free: 8.625 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.837e-05/0.004031, allocations: 11.92 kB / 270.4 MB, free: 8.613 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.004056, allocations: 4.734 kB / 270.4 MB, free: 8.609 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.321e-05/0.00407, allocations: 4 kB / 270.4 MB, free: 8.605 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.629e-05/0.004126, allocations: 16.61 kB / 270.4 MB, free: 8.59 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.004161, allocations: 15.94 kB / 270.4 MB, free: 8.574 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.004321, allocations: 36.58 kB / 270.4 MB, free: 8.539 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.004326, allocations: 0 / 270.4 MB, free: 8.539 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.004327, allocations: 0.625 kB / 270.4 MB, free: 8.539 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.004334, allocations: 4 kB / 270.4 MB, free: 8.535 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.0004653/0.004799, allocations: 394.9 kB / 270.8 MB, free: 8.113 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.004843, allocations: 12.03 kB / 270.8 MB, free: 8.102 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.004886, allocations: 12.88 kB / 270.8 MB, free: 8.09 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.005093, allocations: 136.5 kB / 271 MB, free: 7.93 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.005103, allocations: 4.375 kB / 271 MB, free: 7.926 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.005116, allocations: 9.844 kB / 271 MB, free: 7.918 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.005315, allocations: 102.3 kB / 271.1 MB, free: 7.805 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.005324, allocations: 192 / 271.1 MB, free: 7.805 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.005332, allocations: 1.344 kB / 271.1 MB, free: 7.805 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.005342, allocations: 8.359 kB / 271.1 MB, free: 7.797 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.439e-05/0.005366, allocations: 16.38 kB / 271.1 MB, free: 7.781 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000119/0.005485, allocations: 117.1 kB / 271.2 MB, free: 7.641 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.005614, allocations: 59.19 kB / 271.3 MB, free: 7.57 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.832e-05/0.005652, allocations: 27.72 kB / 271.3 MB, free: 7.539 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.005659, allocations: 0 / 271.3 MB, free: 7.539 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.005689, allocations: 45.33 kB / 271.4 MB, free: 7.484 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.00569, allocations: 0 / 271.4 MB, free: 7.484 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001599/0.00585, allocations: 69.62 kB / 271.4 MB, free: 7.41 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.005903, allocations: 55.41 kB / 271.5 MB, free: 7.344 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.006031, allocations: 185.9 kB / 271.7 MB, free: 7.145 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.006042, allocations: 25.7 kB / 271.7 MB, free: 7.113 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.006084, allocations: 138.9 kB / 271.8 MB, free: 6.973 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.193e-05/0.006096, allocations: 4 kB / 271.8 MB, free: 6.969 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.006128, allocations: 27.31 kB / 271.9 MB, free: 6.934 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.006236, allocations: 496.1 kB / 272.3 MB, free: 6.438 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.021e-06/0.006242, allocations: 0 / 272.3 MB, free: 6.438 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-06/0.006248, allocations: 7.984 kB / 272.3 MB, free: 6.43 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.056e-05/0.006269, allocations: 19.62 kB / 272.4 MB, free: 6.406 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006271, allocations: 0 / 272.4 MB, free: 6.406 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.765e-05/0.006318, allocations: 33.7 kB / 272.4 MB, free: 6.367 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.00633, allocations: 6.281 kB / 272.4 MB, free: 6.363 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.006334, allocations: 4 kB / 272.4 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.006342, allocations: 0 / 272.4 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.213e-05/0.006354, allocations: 0 / 272.4 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.006357, allocations: 4 kB / 272.4 MB, free: 6.355 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.084e-05/0.006368, allocations: 3.938 kB / 272.4 MB, free: 6.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.006373, allocations: 3.938 kB / 272.4 MB, free: 6.348 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.62e-05/0.006439, allocations: 156.6 kB / 272.6 MB, free: 6.184 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.006483, allocations: 69.89 kB / 272.6 MB, free: 6.109 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.006513, allocations: 12.42 kB / 272.7 MB, free: 6.094 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006515, allocations: 4 kB / 272.7 MB, free: 6.09 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.006516, allocations: 4 kB / 272.7 MB, free: 6.086 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.006518, allocations: 0 / 272.7 MB, free: 6.086 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.052e-05/0.006589, allocations: 109.2 kB / 272.8 MB, free: 5.953 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.00659, allocations: 0 / 272.8 MB, free: 5.953 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-06/0.006596, allocations: 0 / 272.8 MB, free: 5.953 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.006598, allocations: 0 / 272.8 MB, free: 5.953 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.006603, allocations: 4 kB / 272.8 MB, free: 5.949 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.006604, allocations: 4 kB / 272.8 MB, free: 5.945 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.006605, allocations: 80 / 272.8 MB, free: 5.945 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.473e-05/0.00665, allocations: 76.27 kB / 272.9 MB, free: 5.848 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.006681, allocations: 23.92 kB / 272.9 MB, free: 5.824 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.006695, allocations: 4 kB / 272.9 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.146e-05/0.006706, allocations: 0 / 272.9 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-06/0.006709, allocations: 0 / 272.9 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.006711, allocations: 0 / 272.9 MB, free: 5.82 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.26e-05/0.006754, allocations: 142 kB / 273 MB, free: 5.684 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006754, allocations: 0 / 273 MB, free: 5.684 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001187/0.006873, allocations: 7.984 kB / 273 MB, free: 5.676 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 8.457e-05/0.006957, allocations: 95.25 kB / 273.1 MB, free: 5.574 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.677e-05/0.007024, allocations: 31.62 kB / 273.1 MB, free: 5.539 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.007025, allocations: 0 / 273.1 MB, free: 5.539 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.007026, allocations: 0 / 273.1 MB, free: 5.539 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.007234, allocations: 42.41 kB / 273.2 MB, free: 5.496 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002039/0.007438, allocations: 155.4 kB / 273.3 MB, free: 5.316 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.925e-05/0.007467, allocations: 63.34 kB / 273.4 MB, free: 5.234 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.448e-05/0.007482, allocations: 0 / 273.4 MB, free: 5.234 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.007532, allocations: 78.19 kB / 273.5 MB, free: 5.156 MB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.007532, allocations: 0 / 273.5 MB, free: 5.156 MB / 250.7 MB Notification: Performance of Templates: time 0.002278/0.009811, allocations: 0.6784 MB / 274.2 MB, free: 4.492 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","",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.6824828828684986]