Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001786/0.001786, 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.001696/0.001696, allocations: 214.7 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.585/1.585, 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.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 47.92 kB / 379 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3739, allocations: 53.36 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.003423/0.3773, allocations: 0.966 MB / 433.3 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005737/0.3779, allocations: 115.5 kB / 433.4 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.378, allocations: 7.938 kB / 433.4 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.347e-05/0.3781, allocations: 11.86 kB / 433.4 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.3783, allocations: 3.938 kB / 433.4 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.3786, allocations: 39.89 kB / 433.5 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.3788, allocations: 47.86 kB / 433.5 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.379, allocations: 19.12 kB / 433.5 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.435e-05/0.379, allocations: 11.94 kB / 433.5 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.964e-05/0.3791, allocations: 19.86 kB / 433.6 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.3791, allocations: 4 kB / 433.6 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.556e-05/0.3791, allocations: 4 kB / 433.6 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.394e-05/0.3792, allocations: 19.92 kB / 433.6 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.748e-05/0.3792, allocations: 19.86 kB / 433.6 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.3794, allocations: 55.41 kB / 433.7 MB, free: 5.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3794, allocations: 0 / 433.7 MB, free: 5.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.3794, allocations: 0 / 433.7 MB, free: 5.371 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.3794, allocations: 4 kB / 433.7 MB, free: 5.367 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.0006322/0.38, allocations: 298 kB / 434 MB, free: 5.047 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.3801, allocations: 12.03 kB / 434 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.985e-05/0.3802, allocations: 16.83 kB / 434 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.3805, allocations: 134.4 kB / 434.1 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3805, allocations: 384 / 434.1 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.3806, allocations: 4.375 kB / 434.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.3809, allocations: 131.8 kB / 434.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.381, allocations: 7.938 kB / 434.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.381, allocations: 4 kB / 434.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.381, allocations: 0 / 434.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.527e-05/0.381, allocations: 15.98 kB / 434.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.3812, allocations: 113.3 kB / 434.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.3814, allocations: 66.66 kB / 434.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.402e-05/0.3815, allocations: 32.89 kB / 434.5 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.3815, allocations: 0 / 434.5 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.87e-05/0.3816, allocations: 42.56 kB / 434.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.61e-07/0.3816, allocations: 0 / 434.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002659/0.3819, allocations: 93.72 kB / 434.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/0.3819, allocations: 59.39 kB / 434.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.3821, allocations: 136.4 kB / 434.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.3821, allocations: 29.7 kB / 434.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.137e-05/0.3822, allocations: 84.14 kB / 434.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.3822, allocations: 7.938 kB / 434.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-05/0.3823, allocations: 25.7 kB / 435 MB, free: 3.922 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.3825, allocations: 318.8 kB / 435.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.456e-05/0.3825, allocations: 7.984 kB / 435.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.016e-05/0.3826, allocations: 62.81 kB / 435.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.3827, allocations: 70.73 kB / 435.4 MB, free: 3.414 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3827, allocations: 4 kB / 435.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000154/0.3829, allocations: 93.45 kB / 435.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.3829, allocations: 4 kB / 435.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.3829, allocations: 11.94 kB / 435.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.3829, allocations: 0 / 435.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.036e-05/0.383, allocations: 23.92 kB / 435.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.383, allocations: 0 / 435.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.3831, allocations: 11.95 kB / 435.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.3831, allocations: 4.25 kB / 435.6 MB, free: 3.258 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: 0 () * 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.0001518/0.3832, allocations: 125.8 kB / 435.7 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.3833, allocations: 73.94 kB / 435.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.69e-05/0.3834, allocations: 20.64 kB / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3834, allocations: 0 / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3834, allocations: 0 / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3834, allocations: 0 / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.3835, allocations: 113.3 kB / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3835, allocations: 0 / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.347e-05/0.3836, allocations: 19.92 kB / 435.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3836, allocations: 0 / 435.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3836, allocations: 8 kB / 435.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.85e-06/0.3836, allocations: 3.938 kB / 435.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3836, allocations: 80 / 435.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.3838, allocations: 101.1 kB / 436 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.3838, allocations: 27.86 kB / 436 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.3839, allocations: 0 / 436 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.069e-05/0.3839, allocations: 3.938 kB / 436 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-06/0.3839, allocations: 0 / 436 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.3839, allocations: 4 kB / 436 MB, free: 2.699 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.697e-05/0.384, allocations: 106.4 kB / 436.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.384, allocations: 0 / 436.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002061/0.3842, allocations: 12 kB / 436.2 MB, free: 2.586 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: 0 () * 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.0001599/0.3844, allocations: 103.2 kB / 436.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.3845, allocations: 39.92 kB / 436.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3845, allocations: 0 / 436.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.72e-07/0.3845, allocations: 192 / 436.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.3849, allocations: 42.52 kB / 436.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004527/0.3853, allocations: 170 kB / 436.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.3854, allocations: 83.33 kB / 436.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.952e-05/0.3855, allocations: 11.94 kB / 436.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.3855, allocations: 7.438 kB / 436.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3855, allocations: 3.938 kB / 436.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of Templates: time 0.004099/0.3896, allocations: 0.726 MB / 437.3 MB, free: 1.359 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.208802427994669]