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.001602/0.001602, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002105/0.002105, allocations: 213.6 kB / 23.75 MB, free: 4.668 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.66/1.66, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.001721/0.001721, allocations: 47.92 kB / 378.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3922, allocations: 53.36 MB / 431.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.00262/0.3948, allocations: 0.9682 MB / 432.6 MB, free: 5.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004644/0.3953, allocations: 115.5 kB / 432.7 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.3954, allocations: 4 kB / 432.7 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.686e-05/0.3955, allocations: 11.86 kB / 432.7 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.3957, allocations: 3.938 kB / 432.7 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.396, allocations: 47.89 kB / 432.8 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.3962, allocations: 39.86 kB / 432.8 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.3963, allocations: 16.17 kB / 432.8 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.275e-05/0.3964, allocations: 15.94 kB / 432.9 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.388e-05/0.3964, allocations: 19.86 kB / 432.9 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.3965, allocations: 4 kB / 432.9 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.594e-05/0.3965, allocations: 4 kB / 432.9 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.232e-05/0.3965, allocations: 15.92 kB / 432.9 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.879e-05/0.3966, allocations: 27.8 kB / 432.9 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.3968, allocations: 51.41 kB / 433 MB, free: 5.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.3968, allocations: 4 kB / 433 MB, free: 5.586 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.3968, allocations: 7.938 kB / 433 MB, free: 5.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.3968, allocations: 4 kB / 433 MB, free: 5.574 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.0006308/0.3974, allocations: 291.6 kB / 433.3 MB, free: 5.262 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.3975, allocations: 8.031 kB / 433.3 MB, free: 5.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.67e-05/0.3975, allocations: 12.88 kB / 433.3 MB, free: 5.242 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.3979, allocations: 142.3 kB / 433.4 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.3979, allocations: 4.375 kB / 433.4 MB, free: 5.074 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.3979, allocations: 12.38 kB / 433.4 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.3983, allocations: 135.6 kB / 433.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3983, allocations: 3.938 kB / 433.6 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.3983, allocations: 0 / 433.6 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.3983, allocations: 0 / 433.6 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.845e-05/0.3984, allocations: 19.98 kB / 433.6 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.3986, allocations: 148.7 kB / 433.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.3987, allocations: 58.66 kB / 433.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.935e-05/0.3988, allocations: 32.89 kB / 433.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.3988, allocations: 4 kB / 433.8 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.3989, allocations: 38.56 kB / 433.9 MB, free: 4.555 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.3989, allocations: 4 kB / 433.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002369/0.3991, allocations: 97.69 kB / 434 MB, free: 4.449 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/0.3992, allocations: 59.34 kB / 434 MB, free: 4.379 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.3993, allocations: 136.3 kB / 434.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.3993, allocations: 25.7 kB / 434.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.149e-05/0.3994, allocations: 84.14 kB / 434.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.3995, allocations: 15.92 kB / 434.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.3995, allocations: 17.72 kB / 434.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3997, allocations: 322.8 kB / 434.6 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.3997, allocations: 7.984 kB / 434.6 MB, free: 3.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.3998, allocations: 54.88 kB / 434.7 MB, free: 3.672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.3999, allocations: 78.73 kB / 434.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3999, allocations: 0 / 434.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001387/0.4, allocations: 89.45 kB / 434.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.4, allocations: 11.94 kB / 434.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.4, allocations: 4 kB / 434.9 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.4001, allocations: 7.938 kB / 434.9 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.143e-05/0.4001, allocations: 15.98 kB / 434.9 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.4002, allocations: 4 kB / 434.9 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.784e-05/0.4002, allocations: 7.953 kB / 434.9 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.4002, allocations: 4 kB / 434.9 MB, free: 3.422 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.0001123/0.4003, allocations: 130 kB / 435 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.4004, allocations: 69.59 kB / 435.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/0.4005, allocations: 16.7 kB / 435.1 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4005, allocations: 0 / 435.1 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.4005, allocations: 0 / 435.1 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4005, allocations: 4.188 kB / 435.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.4006, allocations: 136.7 kB / 435.3 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4006, allocations: 3.938 kB / 435.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.021e-05/0.4007, allocations: 23.92 kB / 435.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.4007, allocations: 7.938 kB / 435.3 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.4007, allocations: 0 / 435.3 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4007, allocations: 0 / 435.3 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4007, allocations: 0 / 435.3 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.4009, allocations: 97.08 kB / 435.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/0.4009, allocations: 27.8 kB / 435.4 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.4009, allocations: 4 kB / 435.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.764e-05/0.4009, allocations: 0 / 435.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-06/0.4009, allocations: 8 kB / 435.4 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.401, allocations: 0 / 435.4 MB, free: 2.824 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.005e-05/0.401, allocations: 107.2 kB / 435.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.401, allocations: 0 / 435.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000204/0.4012, allocations: 8 kB / 435.5 MB, free: 2.711 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.0001294/0.4014, allocations: 99.19 kB / 435.6 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001374/0.4015, allocations: 40.3 kB / 435.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4015, allocations: 4.125 kB / 435.7 MB, free: 2.562 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.4015, allocations: 4 kB / 435.7 MB, free: 2.559 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.4018, allocations: 43.92 kB / 435.7 MB, free: 2.516 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/0.4022, allocations: 161.5 kB / 435.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.4026, allocations: 0.7002 MB / 436.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.953e-05/0.4027, allocations: 3.953 kB / 436.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.4027, allocations: 19.38 kB / 436.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4027, allocations: 0 / 436.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of Templates: time 0.003905/0.4066, allocations: 0.6824 MB / 437.3 MB, free: 0.9023 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/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.194767454871908]