Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.00206/0.00206, allocations: 99.64 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.002604/0.002604, allocations: 213.1 kB / 24.48 MB, free: 3.934 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.471/1.471, allocations: 230.6 MB / 258.2 MB, free: 7.754 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.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 51.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2544, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002273/0.2567, allocations: 0.8481 MB / 433.2 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000359/0.257, allocations: 115.6 kB / 433.3 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.809e-05/0.2571, allocations: 7.938 kB / 433.3 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.618e-05/0.2572, allocations: 11.86 kB / 433.3 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.2573, allocations: 7.922 kB / 433.3 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.2575, allocations: 39.91 kB / 433.4 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.2577, allocations: 43.84 kB / 433.4 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.2578, allocations: 18.94 kB / 433.4 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.515e-05/0.2578, allocations: 19.92 kB / 433.4 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.66e-05/0.2579, allocations: 27.8 kB / 433.5 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.2579, allocations: 4 kB / 433.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.356e-05/0.2579, allocations: 4 kB / 433.5 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.774e-05/0.258, allocations: 15.92 kB / 433.5 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.454e-05/0.258, allocations: 19.88 kB / 433.5 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.2581, allocations: 63.39 kB / 433.6 MB, free: 5.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2581, allocations: 0 / 433.6 MB, free: 5.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2581, allocations: 0 / 433.6 MB, free: 5.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2582, allocations: 0 / 433.6 MB, free: 5.488 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.000515/0.2587, allocations: 298 kB / 433.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2587, allocations: 12.03 kB / 433.9 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.2587, allocations: 16.83 kB / 433.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.259, allocations: 142.3 kB / 434 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.259, allocations: 8.375 kB / 434 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.259, allocations: 4.375 kB / 434 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.2593, allocations: 143.7 kB / 434.2 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2593, allocations: 4.188 kB / 434.2 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.2593, allocations: 3.938 kB / 434.2 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2593, allocations: 0 / 434.2 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.427e-05/0.2594, allocations: 23.92 kB / 434.2 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.2595, allocations: 121.3 kB / 434.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.2597, allocations: 70.7 kB / 434.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.305e-05/0.2598, allocations: 48.88 kB / 434.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-06/0.2598, allocations: 0 / 434.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.2598, allocations: 38.5 kB / 434.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.91e-07/0.2598, allocations: 0 / 434.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002191/0.26, allocations: 105.7 kB / 434.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/0.2601, allocations: 55.41 kB / 434.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.2603, allocations: 148.6 kB / 434.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.2603, allocations: 29.7 kB / 434.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.2603, allocations: 84.14 kB / 434.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.2604, allocations: 4 kB / 434.9 MB, free: 4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.2604, allocations: 29.7 kB / 434.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2606, allocations: 310.8 kB / 435.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.2606, allocations: 19.92 kB / 435.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.042e-05/0.2606, allocations: 58.81 kB / 435.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.295e-05/0.2607, allocations: 78.73 kB / 435.4 MB, free: 3.449 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2607, allocations: 0 / 435.4 MB, free: 3.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001504/0.2609, allocations: 97.62 kB / 435.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2609, allocations: 4 kB / 435.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2609, allocations: 4 kB / 435.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.2609, allocations: 3.938 kB / 435.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.943e-05/0.261, allocations: 15.94 kB / 435.5 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.261, allocations: 4 kB / 435.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.759e-05/0.2611, allocations: 11.94 kB / 435.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.2611, allocations: 4 kB / 435.5 MB, free: 3.301 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 (sum.y,sum.u[2],sum.u[1],const.y,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 0.0001141/0.2612, allocations: 132.3 kB / 435.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.2613, allocations: 89.59 kB / 435.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.2613, allocations: 16.64 kB / 435.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2613, allocations: 4 kB / 435.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2613, allocations: 0 / 435.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2614, allocations: 0 / 435.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.792e-05/0.2614, allocations: 113.3 kB / 435.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2615, allocations: 0 / 435.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.48e-05/0.2615, allocations: 15.98 kB / 435.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2615, allocations: 0 / 435.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.2615, allocations: 0 / 435.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2615, allocations: 3.938 kB / 435.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2615, allocations: 8 kB / 435.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.2617, allocations: 113 kB / 436 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.2617, allocations: 19.94 kB / 436 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.2618, allocations: 0 / 436 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.505e-05/0.2618, allocations: 3.938 kB / 436 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.714e-06/0.2618, allocations: 0 / 436 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.2618, allocations: 8 kB / 436 MB, free: 2.719 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.979e-05/0.2619, allocations: 111.2 kB / 436.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2619, allocations: 0 / 436.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002086/0.2621, allocations: 8 kB / 436.2 MB, free: 2.602 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,const.y,sum.u[1],sum.u[2],sum.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 0.0001128/0.2622, allocations: 99.25 kB / 436.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001317/0.2623, allocations: 51.86 kB / 436.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2623, allocations: 0 / 436.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2623, allocations: 0 / 436.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.2627, allocations: 48.58 kB / 436.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.263, allocations: 203.2 kB / 436.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.825e-05/0.2631, allocations: 95.8 kB / 436.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.2631, allocations: 11.38 kB / 436.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2631, allocations: 0 / 436.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of Templates: time 0.00249/0.2656, allocations: 0.8871 MB / 437.5 MB, free: 1.16 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 7.014160000253469]