Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001398/0.001398, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001542/0.001542, allocations: 184.9 kB / 24.45 MB, free: 3.961 MB / 14.72 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.443/1.443, allocations: 225.7 MB / 253.3 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 51.92 kB / 371.6 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2649, allocations: 52.17 MB / 423.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002448/0.2673, allocations: 0.8734 MB / 424.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003943/0.2677, allocations: 119.7 kB / 424.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.101e-05/0.2678, allocations: 0 / 424.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.2679, allocations: 11.88 kB / 424.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.268, allocations: 7.922 kB / 424.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.2682, allocations: 39.91 kB / 424.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.2684, allocations: 39.91 kB / 424.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.2685, allocations: 23.58 kB / 424.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.252e-05/0.2685, allocations: 11.94 kB / 424.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.289e-05/0.2686, allocations: 23.91 kB / 425 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.2686, allocations: 4 kB / 425 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.448e-05/0.2686, allocations: 4 kB / 425 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.917e-05/0.2687, allocations: 19.92 kB / 425 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.2687, allocations: 23.8 kB / 425 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.2689, allocations: 70.62 kB / 425.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2689, allocations: 0 / 425.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2689, allocations: 0 / 425.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.2689, allocations: 0 / 425.1 MB, free: 13.17 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.0005149/0.2694, allocations: 298 kB / 425.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.2694, allocations: 8.031 kB / 425.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.2695, allocations: 8.891 kB / 425.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.2697, allocations: 146.3 kB / 425.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.2697, allocations: 8.375 kB / 425.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.2698, allocations: 8.375 kB / 425.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.2701, allocations: 139.8 kB / 425.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2701, allocations: 192 / 425.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.2701, allocations: 3.938 kB / 425.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2701, allocations: 0 / 425.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.508e-05/0.2702, allocations: 19.98 kB / 425.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.2703, allocations: 125.3 kB / 425.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.2705, allocations: 78.62 kB / 425.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.438e-05/0.2705, allocations: 40.89 kB / 425.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.2706, allocations: 0 / 425.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.2706, allocations: 34.55 kB / 426 MB, free: 12.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.093e-06/0.2706, allocations: 3.938 kB / 426 MB, free: 12.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002267/0.2708, allocations: 109.5 kB / 426.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.77e-05/0.2709, allocations: 59.34 kB / 426.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.271, allocations: 140.8 kB / 426.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.2711, allocations: 29.7 kB / 426.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.2711, allocations: 92.12 kB / 426.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.2711, allocations: 4 kB / 426.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/0.2712, allocations: 29.67 kB / 426.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.2713, allocations: 314.8 kB / 426.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.588e-05/0.2713, allocations: 12 kB / 426.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.256e-05/0.2714, allocations: 58.86 kB / 426.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.7e-05/0.2715, allocations: 78.73 kB / 426.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2715, allocations: 0 / 426.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001426/0.2716, allocations: 89.45 kB / 427 MB, free: 11.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.2717, allocations: 8 kB / 427 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.2717, allocations: 256 / 427 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.2717, allocations: 11.94 kB / 427 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.04e-05/0.2718, allocations: 15.98 kB / 427 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.2718, allocations: 7.938 kB / 427 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.686e-05/0.2718, allocations: 8 kB / 427 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.2718, allocations: 4 kB / 427 MB, free: 10.99 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.000112/0.2719, allocations: 125.8 kB / 427.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.2721, allocations: 81.78 kB / 427.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.827e-05/0.2721, allocations: 20.59 kB / 427.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2721, allocations: 0 / 427.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.2721, allocations: 11.97 kB / 427.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2721, allocations: 4 kB / 427.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.802e-05/0.2722, allocations: 113.3 kB / 427.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2722, allocations: 0 / 427.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.094e-05/0.2723, allocations: 15.98 kB / 427.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2723, allocations: 0 / 427.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.2723, allocations: 0 / 427.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.2723, allocations: 3.938 kB / 427.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2723, allocations: 7.938 kB / 427.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.2725, allocations: 113 kB / 427.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.2725, allocations: 11.95 kB / 427.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.2725, allocations: 8.188 kB / 427.5 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.751e-05/0.2725, allocations: 11.86 kB / 427.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-06/0.2725, allocations: 3.938 kB / 427.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.2725, allocations: 4 kB / 427.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.902e-05/0.2726, allocations: 103.3 kB / 427.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2726, allocations: 0 / 427.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002136/0.2728, allocations: 12 kB / 427.7 MB, free: 10.29 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.0001101/0.273, allocations: 99.23 kB / 427.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.2731, allocations: 51.92 kB / 427.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2731, allocations: 0 / 427.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2731, allocations: 0 / 427.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.2734, allocations: 42.45 kB / 427.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/0.2738, allocations: 211 kB / 428.1 MB, free: 9.852 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.957e-05/0.2738, allocations: 87.17 kB / 428.1 MB, free: 9.746 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.2739, allocations: 11.44 kB / 428.2 MB, free: 9.734 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2739, allocations: 0.5 kB / 428.2 MB, free: 9.734 MB / 334.1 MB Notification: Performance of Templates: time 0.002836/0.2767, allocations: 0.9048 MB / 429.1 MB, free: 8.832 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.127970085013658]