Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001375/0.001375, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001578/0.001578, allocations: 220.1 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.636/1.636, allocations: 230.4 MB / 258.1 MB, free: 8.16 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 59.84 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3712, allocations: 53.31 MB / 432 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.004761/0.376, allocations: 0.9743 MB / 433 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006305/0.3766, allocations: 111.7 kB / 433.1 MB, free: 6.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.3768, allocations: 0 / 433.1 MB, free: 6.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.621e-05/0.3769, allocations: 11.88 kB / 433.1 MB, free: 6.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.3771, allocations: 3.938 kB / 433.1 MB, free: 6.301 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.3775, allocations: 47.89 kB / 433.2 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.3777, allocations: 43.84 kB / 433.2 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.3779, allocations: 16.17 kB / 433.3 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.832e-05/0.378, allocations: 15.92 kB / 433.3 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.912e-05/0.3781, allocations: 19.86 kB / 433.3 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.3781, allocations: 4 kB / 433.3 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.969e-05/0.3781, allocations: 4 kB / 433.3 MB, free: 6.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-05/0.3782, allocations: 11.94 kB / 433.3 MB, free: 6.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.413e-05/0.3783, allocations: 31.8 kB / 433.3 MB, free: 6.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.3786, allocations: 61.16 kB / 433.4 MB, free: 6.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.3786, allocations: 4 kB / 433.4 MB, free: 6.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.3786, allocations: 0 / 433.4 MB, free: 6.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.04e-05/0.3786, allocations: 0 / 433.4 MB, free: 6.043 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.0008586/0.3795, allocations: 371.2 kB / 433.8 MB, free: 5.633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.348e-05/0.3796, allocations: 15.97 kB / 433.8 MB, free: 5.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.259e-05/0.3796, allocations: 8.891 kB / 433.8 MB, free: 5.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005119/0.3801, allocations: 196.2 kB / 434 MB, free: 5.379 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.3802, allocations: 384 / 434 MB, free: 5.379 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.3802, allocations: 8.375 kB / 434 MB, free: 5.371 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.3807, allocations: 131.7 kB / 434.1 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.3807, allocations: 3.938 kB / 434.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.3807, allocations: 4 kB / 434.1 MB, free: 5.223 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.3807, allocations: 7.984 kB / 434.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.652e-05/0.3808, allocations: 15.98 kB / 434.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/0.381, allocations: 177.6 kB / 434.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.3812, allocations: 62.66 kB / 434.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.868e-05/0.3813, allocations: 32.89 kB / 434.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.3814, allocations: 4 kB / 434.4 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.3814, allocations: 30.56 kB / 434.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.3814, allocations: 4 kB / 434.5 MB, free: 4.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003323/0.3817, allocations: 89.58 kB / 434.5 MB, free: 4.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.3819, allocations: 63.33 kB / 434.6 MB, free: 4.656 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.382, allocations: 136.6 kB / 434.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.3821, allocations: 25.7 kB / 434.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.662e-05/0.3821, allocations: 88.14 kB / 434.8 MB, free: 4.395 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.3822, allocations: 0 / 434.8 MB, free: 4.395 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.901e-05/0.3822, allocations: 29.7 kB / 434.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.3824, allocations: 314.8 kB / 435.2 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.054e-05/0.3825, allocations: 15.98 kB / 435.2 MB, free: 4.027 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-05/0.3826, allocations: 54.88 kB / 435.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.3827, allocations: 74.73 kB / 435.3 MB, free: 3.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3827, allocations: 0 / 435.3 MB, free: 3.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002138/0.3829, allocations: 93.45 kB / 435.4 MB, free: 3.754 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.3829, allocations: 11.94 kB / 435.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.383, allocations: 0 / 435.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.383, allocations: 4 kB / 435.4 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.3832, allocations: 15.98 kB / 435.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.3832, allocations: 4 kB / 435.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.725e-05/0.3833, allocations: 15.83 kB / 435.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.3833, allocations: 7.938 kB / 435.5 MB, free: 3.695 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.0001765/0.3835, allocations: 122.3 kB / 435.6 MB, free: 3.566 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.3836, allocations: 81.72 kB / 435.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/0.3837, allocations: 16.64 kB / 435.7 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3837, allocations: 0 / 435.7 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3837, allocations: 4 kB / 435.7 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3837, allocations: 0 / 435.7 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.3839, allocations: 165.7 kB / 435.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.3839, allocations: 4 kB / 435.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.858e-05/0.384, allocations: 19.92 kB / 435.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.384, allocations: 7.938 kB / 435.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.384, allocations: 0 / 435.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.384, allocations: 0 / 435.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.384, allocations: 0 / 435.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.3843, allocations: 105.5 kB / 436 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.3844, allocations: 100.9 kB / 436.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.3844, allocations: 0 / 436.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.692e-05/0.3845, allocations: 0 / 436.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-06/0.3845, allocations: 0 / 436.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.3845, allocations: 12 kB / 436.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.3846, allocations: 106.4 kB / 436.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3846, allocations: 0 / 436.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003102/0.3849, allocations: 8 kB / 436.2 MB, free: 2.859 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.0002312/0.3851, allocations: 103.2 kB / 436.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.3853, allocations: 40.3 kB / 436.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3853, allocations: 4.125 kB / 436.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.3853, allocations: 0 / 436.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.3858, allocations: 46.61 kB / 436.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006016/0.3864, allocations: 169.5 kB / 436.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.3869, allocations: 0.6963 MB / 437.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.905e-05/0.387, allocations: 3.953 kB / 437.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.387, allocations: 11.44 kB / 437.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.387, allocations: 4 kB / 437.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of Templates: time 0.004693/0.3917, allocations: 0.6555 MB / 437.9 MB, free: 1.074 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 4.983458630274981]