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.0009566/0.0009566, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.00091/0.00091, allocations: 145 kB / 24.89 MB, free: 9.211 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 0.9596/0.9596, allocations: 173.3 MB / 201.5 MB, free: 9.219 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.694e-06/1.694e-06, allocations: 0 / 268.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.386e-05, allocations: 2.312 kB / 268.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.00204/0.002064, allocations: 0.953 MB / 269.5 MB, free: 5.215 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003141/0.002378, allocations: 123.5 kB / 269.6 MB, free: 5.094 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.189e-05/0.00245, allocations: 0 / 269.6 MB, free: 5.094 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.634e-05/0.002496, allocations: 3.938 kB / 269.6 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.002624, allocations: 11.92 kB / 269.6 MB, free: 5.078 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.002842, allocations: 35.78 kB / 269.6 MB, free: 5.043 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.002944, allocations: 43.91 kB / 269.7 MB, free: 5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.912e-05/0.003034, allocations: 19.98 kB / 269.7 MB, free: 4.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.291e-05/0.003086, allocations: 23.91 kB / 269.7 MB, free: 4.957 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.102e-05/0.003117, allocations: 7.984 kB / 269.7 MB, free: 4.949 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.003137, allocations: 4 kB / 269.7 MB, free: 4.945 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.00315, allocations: 4 kB / 269.7 MB, free: 4.941 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.003196, allocations: 11.94 kB / 269.7 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.003224, allocations: 19.91 kB / 269.8 MB, free: 4.91 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.003331, allocations: 35.84 kB / 269.8 MB, free: 4.875 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003333, allocations: 0 / 269.8 MB, free: 4.875 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003334, allocations: 0 / 269.8 MB, free: 4.875 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.003338, allocations: 4 kB / 269.8 MB, free: 4.871 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.0002771/0.003615, allocations: 272.6 kB / 270.1 MB, free: 4.578 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.003648, allocations: 8.922 kB / 270.1 MB, free: 4.57 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.003681, allocations: 16.92 kB / 270.1 MB, free: 4.555 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.003819, allocations: 117.8 kB / 270.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.003828, allocations: 8.312 kB / 270.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.003839, allocations: 12.36 kB / 270.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.003991, allocations: 111.7 kB / 270.3 MB, free: 4.273 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.003998, allocations: 4.172 kB / 270.3 MB, free: 4.27 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.004005, allocations: 4.375 kB / 270.3 MB, free: 4.266 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.00401, allocations: 4.375 kB / 270.4 MB, free: 4.262 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.612e-05/0.004026, allocations: 7.938 kB / 270.4 MB, free: 4.254 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.496e-05/0.004091, allocations: 64.94 kB / 270.4 MB, free: 4.176 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.164e-05/0.004183, allocations: 46.53 kB / 270.5 MB, free: 4.121 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.004212, allocations: 24.86 kB / 270.5 MB, free: 4.094 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.004218, allocations: 0 / 270.5 MB, free: 4.094 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.004238, allocations: 38.5 kB / 270.5 MB, free: 4.047 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 7.91e-07/0.004239, allocations: 4 kB / 270.5 MB, free: 4.043 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001069/0.004345, allocations: 61.66 kB / 270.6 MB, free: 3.977 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.004385, allocations: 59.41 kB / 270.7 MB, free: 3.906 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.197e-05/0.004467, allocations: 130 kB / 270.8 MB, free: 3.77 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.004477, allocations: 29.7 kB / 270.8 MB, free: 3.734 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.322e-05/0.0045, allocations: 80.14 kB / 270.9 MB, free: 3.652 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.175e-06/0.004508, allocations: 0 / 270.9 MB, free: 3.652 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.004538, allocations: 29.59 kB / 270.9 MB, free: 3.617 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.939e-05/0.004617, allocations: 318.8 kB / 271.2 MB, free: 3.297 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.591e-06/0.004623, allocations: 4 kB / 271.2 MB, free: 3.293 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.605e-06/0.00463, allocations: 7.938 kB / 271.2 MB, free: 3.285 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.874e-05/0.004649, allocations: 8.859 kB / 271.2 MB, free: 3.273 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.004651, allocations: 0 / 271.2 MB, free: 3.273 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.79e-05/0.004699, allocations: 33.69 kB / 271.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.004711, allocations: 8 kB / 271.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.004717, allocations: 4 kB / 271.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/0.004727, allocations: 0 / 271.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.143e-05/0.004738, allocations: 0 / 271.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.00474, allocations: 96 / 271.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.168e-05/0.004752, allocations: 4 kB / 271.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.004757, allocations: 4 kB / 271.3 MB, free: 3.215 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.146e-05/0.004818, allocations: 120.5 kB / 271.4 MB, free: 3.086 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.004866, allocations: 57.66 kB / 271.5 MB, free: 3.023 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.004894, allocations: 8.438 kB / 271.5 MB, free: 3.012 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.004896, allocations: 0 / 271.5 MB, free: 3.012 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.004899, allocations: 4 kB / 271.5 MB, free: 3.008 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.004901, allocations: 0 / 271.5 MB, free: 3.008 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.7e-05/0.004958, allocations: 73.83 kB / 271.6 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.00496, allocations: 0 / 271.6 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.618e-06/0.004969, allocations: 8 kB / 271.6 MB, free: 2.91 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.004971, allocations: 0 / 271.6 MB, free: 2.91 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-06/0.004975, allocations: 0 / 271.6 MB, free: 2.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.004976, allocations: 0 / 271.6 MB, free: 2.91 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.004978, allocations: 4 kB / 271.6 MB, free: 2.906 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.079e-05/0.005019, allocations: 61 kB / 271.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/0.005049, allocations: 15.94 kB / 271.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.005066, allocations: 4 kB / 271.7 MB, free: 2.809 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.386e-05/0.00508, allocations: 0 / 271.7 MB, free: 2.809 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-06/0.005082, allocations: 0 / 271.7 MB, free: 2.809 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.005086, allocations: 0 / 271.7 MB, free: 2.809 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.372e-05/0.00511, allocations: 32.78 kB / 271.7 MB, free: 2.773 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00511, allocations: 0 / 271.7 MB, free: 2.773 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00014/0.00525, allocations: 4 kB / 271.7 MB, free: 2.77 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 7.416e-05/0.005324, allocations: 84.34 kB / 271.8 MB, free: 2.68 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.813e-05/0.005382, allocations: 25.17 kB / 271.8 MB, free: 2.652 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.005386, allocations: 4 kB / 271.8 MB, free: 2.648 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.005387, allocations: 0 / 271.8 MB, free: 2.648 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.005544, allocations: 34.72 kB / 271.8 MB, free: 2.613 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000198/0.005742, allocations: 156.6 kB / 272 MB, free: 2.434 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.716e-05/0.005779, allocations: 67.33 kB / 272.1 MB, free: 2.348 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.353e-05/0.005792, allocations: 4 kB / 272.1 MB, free: 2.344 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.005839, allocations: 51.38 kB / 272.1 MB, free: 2.293 MB / 250.7 MB Notification: Performance of SimCode: time 8.61e-07/0.005839, allocations: 3.938 kB / 272.1 MB, free: 2.289 MB / 250.7 MB Notification: Performance of Templates: time 0.002411/0.008251, allocations: 0.6822 MB / 272.8 MB, free: 1.621 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 -s gbode -gbm=radauIIA3 -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.35851539298892]