Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009007/0.0009007, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009379/0.001839, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0006833/0.0006833, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008626/0.001546, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9391/0.9391, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08523/1.024, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171e-05/1.29e-05, allocations: 9.203 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001337/0.00135, allocations: 0.9391 MB / 246 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002109/0.001561, allocations: 124.3 kB / 246.1 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.326e-05/0.001624, allocations: 7.938 kB / 246.1 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.388e-05/0.001658, allocations: 3.938 kB / 246.1 MB, free: 12.58 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.318e-05/0.001712, allocations: 7.875 kB / 246.1 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.001841, allocations: 39.89 kB / 246.1 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.771e-05/0.001919, allocations: 35.92 kB / 246.2 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.476e-05/0.001993, allocations: 15.97 kB / 246.2 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.646e-05/0.00205, allocations: 31.91 kB / 246.2 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.112e-05/0.002081, allocations: 11.92 kB / 246.2 MB, free: 12.44 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.002101, allocations: 4 kB / 246.2 MB, free: 12.44 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.002111, allocations: 11.94 kB / 246.2 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.218e-05/0.002144, allocations: 7.938 kB / 246.2 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.002165, allocations: 8 kB / 246.3 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.202e-05/0.002247, allocations: 39.78 kB / 246.3 MB, free: 12.37 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.431e-05/0.002261, allocations: 0 / 246.3 MB, free: 12.37 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.002262, allocations: 0 / 246.3 MB, free: 12.37 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.002277, allocations: 0 / 246.3 MB, free: 12.37 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.0003422/0.002619, allocations: 292.3 kB / 246.6 MB, free: 12.06 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.002648, allocations: 8.625 kB / 246.6 MB, free: 12.05 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.002677, allocations: 8.938 kB / 246.6 MB, free: 12.04 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.002811, allocations: 137.6 kB / 246.7 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.002819, allocations: 4.375 kB / 246.7 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.002828, allocations: 8.375 kB / 246.7 MB, free: 11.87 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.002962, allocations: 107.7 kB / 246.8 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.002969, allocations: 192 / 246.8 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-06/0.002975, allocations: 384 / 246.8 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.00298, allocations: 384 / 246.9 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.936e-05/0.002999, allocations: 27.84 kB / 246.9 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.866e-05/0.003058, allocations: 65.05 kB / 246.9 MB, free: 11.65 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.548e-05/0.003143, allocations: 38.56 kB / 247 MB, free: 11.6 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/0.003167, allocations: 28.83 kB / 247 MB, free: 11.57 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.202e-06/0.003173, allocations: 4 kB / 247 MB, free: 11.57 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.003192, allocations: 30.56 kB / 247 MB, free: 11.53 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 6.82e-07/0.003192, allocations: 0 / 247 MB, free: 11.53 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 9.019e-05/0.003282, allocations: 57.62 kB / 247.1 MB, free: 11.46 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.003322, allocations: 59.41 kB / 247.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.003457, allocations: 129.9 kB / 247.3 MB, free: 11.26 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.824e-06/0.003465, allocations: 29.7 kB / 247.3 MB, free: 11.22 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.052e-05/0.003486, allocations: 92.12 kB / 247.4 MB, free: 11.13 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.002e-05/0.003496, allocations: 7.938 kB / 247.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.003518, allocations: 13.72 kB / 247.4 MB, free: 11.1 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.625e-05/0.003584, allocations: 322.8 kB / 247.7 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-06/0.003588, allocations: 0 / 247.7 MB, free: 10.78 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-06/0.003593, allocations: 4 kB / 247.7 MB, free: 10.77 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.584e-05/0.003609, allocations: 8.844 kB / 247.7 MB, free: 10.76 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.00361, allocations: 0 / 247.7 MB, free: 10.76 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.333e-05/0.003644, allocations: 41.7 kB / 247.8 MB, free: 10.71 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/0.003653, allocations: 4 kB / 247.8 MB, free: 10.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.003659, allocations: 11.98 kB / 247.8 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.003667, allocations: 0 / 247.8 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.526e-06/0.003676, allocations: 3.938 kB / 247.8 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.003678, allocations: 0 / 247.8 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-06/0.003687, allocations: 3.984 kB / 247.8 MB, free: 10.69 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-06/0.00369, allocations: 0 / 247.8 MB, free: 10.69 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 5.312e-05/0.003743, allocations: 120.6 kB / 247.9 MB, free: 10.56 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.003772, allocations: 45.69 kB / 248 MB, free: 10.51 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.003798, allocations: 16.47 kB / 248 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.11e-07/0.003799, allocations: 3.938 kB / 248 MB, free: 10.49 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.0038, allocations: 0 / 248 MB, free: 10.49 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.003804, allocations: 3.984 kB / 248 MB, free: 10.49 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.409e-05/0.003848, allocations: 81.77 kB / 248.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.003848, allocations: 0 / 248.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.625e-06/0.003856, allocations: 7.984 kB / 248.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.003877, allocations: 7.953 kB / 248.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.003878, allocations: 0 / 248.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-06/0.003882, allocations: 4 kB / 248.1 MB, free: 10.37 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.003883, allocations: 0 / 248.1 MB, free: 10.37 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.003883, allocations: 4 kB / 248.1 MB, free: 10.37 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.205e-05/0.003915, allocations: 61.08 kB / 248.2 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.003928, allocations: 4 kB / 248.2 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.859e-06/0.003938, allocations: 4 kB / 248.2 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-06/0.00394, allocations: 3.938 kB / 248.2 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.003943, allocations: 0 / 248.2 MB, free: 10.28 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.714e-05/0.00396, allocations: 24.83 kB / 248.2 MB, free: 10.25 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00396, allocations: 0 / 248.2 MB, free: 10.25 MB / 250.7 MB Notification: Performance of remove unused functions: time 8.646e-05/0.004046, allocations: 8 kB / 248.2 MB, free: 10.24 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 5.582e-05/0.004102, allocations: 80.42 kB / 248.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.14e-05/0.004153, allocations: 20.84 kB / 248.3 MB, free: 10.13 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.004156, allocations: 0 / 248.3 MB, free: 10.13 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.4e-07/0.004156, allocations: 0 / 248.3 MB, free: 10.13 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.004306, allocations: 45.53 kB / 248.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001672/0.004473, allocations: 160.4 kB / 248.5 MB, free: 9.906 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.794e-05/0.004501, allocations: 63.34 kB / 248.6 MB, free: 9.824 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.163e-05/0.004513, allocations: 3.984 kB / 248.6 MB, free: 9.82 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.004553, allocations: 55.38 kB / 248.6 MB, free: 9.766 MB / 250.7 MB Notification: Performance of SimCode: time 3.4e-07/0.004554, allocations: 8 kB / 248.6 MB, free: 9.758 MB / 250.7 MB Notification: Performance of Templates: time 0.001991/0.006545, allocations: 0.6728 MB / 249.3 MB, free: 9.102 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.378507441841066]