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.001499/0.001499, allocations: 107 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.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.001432/0.001432, allocations: 210.9 kB / 24.48 MB, free: 3.941 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.684/1.684, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001586/0.001586, allocations: 51.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4035, allocations: 53.36 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002987/0.4065, allocations: 0.8558 MB / 433.2 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004266/0.407, allocations: 119.6 kB / 433.3 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.4071, allocations: 7.938 kB / 433.3 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.4072, allocations: 3.938 kB / 433.3 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.4073, allocations: 15.92 kB / 433.3 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.4076, allocations: 35.84 kB / 433.4 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.4077, allocations: 39.91 kB / 433.4 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.4078, allocations: 27.64 kB / 433.4 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.288e-05/0.4079, allocations: 23.86 kB / 433.4 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.505e-05/0.408, allocations: 23.84 kB / 433.5 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.408, allocations: 4 kB / 433.5 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.322e-05/0.408, allocations: 4 kB / 433.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.166e-05/0.408, allocations: 11.94 kB / 433.5 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.87e-05/0.4081, allocations: 27.8 kB / 433.5 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.4082, allocations: 62.69 kB / 433.6 MB, free: 5.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4082, allocations: 0 / 433.6 MB, free: 5.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4082, allocations: 0 / 433.6 MB, free: 5.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.4082, 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.0005264/0.4088, allocations: 298.1 kB / 433.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4088, allocations: 8.031 kB / 433.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.4089, allocations: 16.84 kB / 433.9 MB, free: 5.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.4091, allocations: 142.3 kB / 434 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.4091, allocations: 4.375 kB / 434 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.4091, allocations: 4.375 kB / 434 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.4095, allocations: 143.8 kB / 434.2 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4095, allocations: 192 / 434.2 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.4095, allocations: 3.938 kB / 434.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.4095, allocations: 0 / 434.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.975e-05/0.4096, allocations: 27.91 kB / 434.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.4098, allocations: 121.3 kB / 434.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.41, allocations: 66.7 kB / 434.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.659e-05/0.4101, allocations: 44.88 kB / 434.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.4101, allocations: 0 / 434.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.4101, allocations: 38.5 kB / 434.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.4101, allocations: 4 kB / 434.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002824/0.4104, allocations: 101.6 kB / 434.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.161e-05/0.4105, allocations: 55.41 kB / 434.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.4107, allocations: 144.4 kB / 434.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.4107, allocations: 25.7 kB / 434.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.414e-05/0.4107, allocations: 92.12 kB / 434.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.4108, allocations: 3.938 kB / 434.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.4108, allocations: 25.72 kB / 434.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.411, allocations: 318.8 kB / 435.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.585e-05/0.411, allocations: 11.94 kB / 435.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.297e-05/0.4111, allocations: 66.8 kB / 435.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.4112, allocations: 78.73 kB / 435.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4112, allocations: 0 / 435.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001493/0.4114, allocations: 93.52 kB / 435.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.4114, allocations: 4 kB / 435.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.4114, allocations: 4 kB / 435.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.4114, allocations: 3.938 kB / 435.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.571e-05/0.4115, allocations: 23.92 kB / 435.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4115, allocations: 0 / 435.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.168e-05/0.4116, allocations: 8 kB / 435.5 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.4116, allocations: 4 kB / 435.5 MB, free: 3.316 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.0001291/0.4117, allocations: 134 kB / 435.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.4118, allocations: 89.73 kB / 435.7 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.4119, allocations: 12.66 kB / 435.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.4119, allocations: 7.984 kB / 435.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4119, allocations: 0 / 435.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.4119, allocations: 3.984 kB / 435.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.412, allocations: 113.3 kB / 435.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.412, allocations: 0 / 435.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.778e-05/0.4121, allocations: 15.98 kB / 435.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4121, allocations: 0 / 435.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.4121, allocations: 4 kB / 435.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.4121, allocations: 7.938 kB / 435.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4121, allocations: 400 / 435.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.4122, allocations: 113 kB / 436 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.4123, allocations: 15.95 kB / 436 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.4123, allocations: 0 / 436 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.668e-05/0.4123, allocations: 7.922 kB / 436 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.071e-05/0.4124, allocations: 7.938 kB / 436 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.4124, allocations: 4 kB / 436.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.233e-05/0.4124, allocations: 103.3 kB / 436.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4124, allocations: 0 / 436.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002056/0.4126, allocations: 12 kB / 436.2 MB, free: 2.609 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.0001328/0.4128, allocations: 103.2 kB / 436.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.4129, allocations: 47.86 kB / 436.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4129, allocations: 0 / 436.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.4129, allocations: 0 / 436.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.4133, allocations: 50.7 kB / 436.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003556/0.4136, allocations: 181.8 kB / 436.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.664e-05/0.4137, allocations: 83.31 kB / 436.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.616e-05/0.4137, allocations: 8.672 kB / 436.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.4138, allocations: 11.44 kB / 436.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4138, allocations: 0 / 436.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of Templates: time 0.003758/0.4175, allocations: 0.8068 MB / 437.4 MB, free: 1.289 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 -s cvode -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: 5.339226366006187]