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.001309/0.001309, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.00138/0.00138, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.407/1.407, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.001574/0.001574, allocations: 59.91 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2668, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002478/0.2693, allocations: 0.8519 MB / 433.2 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003865/0.2697, allocations: 115.6 kB / 433.3 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.583e-05/0.2698, allocations: 11.94 kB / 433.3 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.2699, allocations: 7.922 kB / 433.3 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.27, allocations: 7.938 kB / 433.3 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.2703, allocations: 43.88 kB / 433.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.2704, allocations: 39.86 kB / 433.4 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.2705, allocations: 22.94 kB / 433.4 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.963e-05/0.2705, allocations: 15.92 kB / 433.4 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.723e-05/0.2706, allocations: 27.84 kB / 433.5 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.2707, allocations: 4 kB / 433.5 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.2707, allocations: 4 kB / 433.5 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.2707, allocations: 19.86 kB / 433.5 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/0.2708, allocations: 23.88 kB / 433.5 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.2709, allocations: 63.39 kB / 433.6 MB, free: 5.469 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2709, allocations: 0 / 433.6 MB, free: 5.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2709, allocations: 0 / 433.6 MB, free: 5.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.2709, allocations: 0 / 433.6 MB, free: 5.469 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.0005063/0.2714, allocations: 300.8 kB / 433.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.2715, allocations: 8.031 kB / 433.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.2715, allocations: 12.84 kB / 433.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.2717, allocations: 142.2 kB / 434 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.2717, allocations: 12.38 kB / 434 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.2718, allocations: 4.375 kB / 434 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.272, allocations: 135.9 kB / 434.2 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2721, allocations: 192 / 434.2 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.2721, allocations: 7.922 kB / 434.2 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2721, allocations: 0 / 434.2 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.609e-05/0.2721, allocations: 19.94 kB / 434.2 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.2723, allocations: 121.3 kB / 434.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.2724, allocations: 78.73 kB / 434.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.045e-05/0.2725, allocations: 48.72 kB / 434.4 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-06/0.2725, allocations: 0 / 434.4 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.2726, allocations: 34.56 kB / 434.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.2726, allocations: 0 / 434.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.000221/0.2728, allocations: 101.5 kB / 434.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/0.2729, allocations: 55.41 kB / 434.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.273, allocations: 148.6 kB / 434.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.273, allocations: 29.7 kB / 434.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.2731, allocations: 84.14 kB / 434.9 MB, free: 4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.275e-05/0.2731, allocations: 8 kB / 434.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.2731, allocations: 29.7 kB / 434.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.2733, allocations: 310.8 kB / 435.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.396e-05/0.2733, allocations: 15.98 kB / 435.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.555e-05/0.2734, allocations: 67.11 kB / 435.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.007e-05/0.2735, allocations: 74.75 kB / 435.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2735, allocations: 0 / 435.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001425/0.2736, allocations: 93.5 kB / 435.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.2736, allocations: 4 kB / 435.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.2736, allocations: 4 kB / 435.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.2737, allocations: 4.188 kB / 435.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.978e-05/0.2737, allocations: 19.94 kB / 435.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.2737, allocations: 7.984 kB / 435.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.515e-05/0.2738, allocations: 8 kB / 435.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.2738, allocations: 4 kB / 435.5 MB, free: 3.293 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.0001099/0.2739, allocations: 125.8 kB / 435.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.274, allocations: 93.67 kB / 435.7 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/0.2741, allocations: 16.64 kB / 435.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2741, allocations: 4 kB / 435.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.2741, allocations: 0 / 435.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2741, allocations: 4 kB / 435.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.2742, allocations: 113.2 kB / 435.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2742, allocations: 0 / 435.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.147e-05/0.2742, allocations: 19.98 kB / 435.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2742, allocations: 0 / 435.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.2743, allocations: 0 / 435.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2743, allocations: 3.938 kB / 435.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2743, allocations: 4.188 kB / 435.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.2744, allocations: 109 kB / 436 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.2744, allocations: 23.88 kB / 436 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.2745, allocations: 0 / 436 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.341e-05/0.2745, allocations: 7.938 kB / 436 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-06/0.2745, allocations: 0 / 436 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.2745, allocations: 4 kB / 436 MB, free: 2.707 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.728e-05/0.2746, allocations: 107.2 kB / 436.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2746, allocations: 0 / 436.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002047/0.2748, allocations: 12 kB / 436.2 MB, free: 2.59 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.0001116/0.2749, allocations: 106.7 kB / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.275, allocations: 56.17 kB / 436.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.275, allocations: 0 / 436.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.3e-07/0.275, allocations: 0 / 436.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.2753, allocations: 43.98 kB / 436.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.2757, allocations: 207 kB / 436.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.063e-05/0.2758, allocations: 79.33 kB / 436.6 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.2758, allocations: 11.44 kB / 436.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2758, allocations: 0 / 436.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of Templates: time 0.002606/0.2784, allocations: 0.897 MB / 437.6 MB, free: 1.148 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: 6.861649252008647]