Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001747/0.001747, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001872/0.001872, allocations: 217.4 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 230.2 MB / 256.7 MB, free: 8.66 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 63.89 kB / 376.9 MB, free: 3.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.338, allocations: 53.31 MB / 430.2 MB, free: 7.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002488/0.3405, allocations: 0.9696 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003358/0.3408, allocations: 107.7 kB / 431.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.037e-05/0.3409, allocations: 3.938 kB / 431.3 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.115e-05/0.3409, allocations: 7.922 kB / 431.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.3411, allocations: 11.94 kB / 431.3 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.3413, allocations: 35.89 kB / 431.3 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.3414, allocations: 39.86 kB / 431.4 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3415, allocations: 20.17 kB / 431.4 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.679e-05/0.3416, allocations: 19.92 kB / 431.4 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.648e-05/0.3416, allocations: 19.86 kB / 431.4 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.3416, allocations: 4 kB / 431.4 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.3417, allocations: 4 kB / 431.4 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.366e-05/0.3417, allocations: 15.92 kB / 431.5 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/0.3418, allocations: 23.81 kB / 431.5 MB, free: 6.367 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.3419, allocations: 64.88 kB / 431.5 MB, free: 6.309 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3419, allocations: 0 / 431.5 MB, free: 6.309 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3419, allocations: 4 kB / 431.5 MB, free: 6.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3419, allocations: 0 / 431.5 MB, free: 6.305 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.0004981/0.3424, allocations: 371.2 kB / 431.9 MB, free: 5.895 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3424, allocations: 8.031 kB / 431.9 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.3425, allocations: 16.83 kB / 431.9 MB, free: 5.871 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.3428, allocations: 188.3 kB / 432.1 MB, free: 5.648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.3428, allocations: 8.375 kB / 432.1 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.3428, allocations: 4.375 kB / 432.1 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.3431, allocations: 135.7 kB / 432.3 MB, free: 5.492 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3431, allocations: 3.938 kB / 432.3 MB, free: 5.488 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.3431, allocations: 0 / 432.3 MB, free: 5.488 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3431, allocations: 0 / 432.3 MB, free: 5.488 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.113e-05/0.3432, allocations: 15.94 kB / 432.3 MB, free: 5.473 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.3433, allocations: 181.6 kB / 432.5 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.3435, allocations: 66.64 kB / 432.5 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.451e-05/0.3436, allocations: 32.89 kB / 432.6 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.3436, allocations: 0 / 432.6 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.3436, allocations: 38.56 kB / 432.6 MB, free: 5.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.22e-07/0.3436, allocations: 0 / 432.6 MB, free: 5.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002133/0.3438, allocations: 89.52 kB / 432.7 MB, free: 4.996 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.3439, allocations: 59.41 kB / 432.7 MB, free: 4.926 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.344, allocations: 129.8 kB / 432.9 MB, free: 4.789 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.344, allocations: 29.7 kB / 432.9 MB, free: 4.754 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.3441, allocations: 88.12 kB / 433 MB, free: 4.664 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.3441, allocations: 7.938 kB / 433 MB, free: 4.656 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.3442, allocations: 25.67 kB / 433 MB, free: 4.625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3443, allocations: 318.8 kB / 433.3 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.3443, allocations: 8 kB / 433.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.333e-05/0.3444, allocations: 62.86 kB / 433.4 MB, free: 4.211 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.767e-05/0.3445, allocations: 74.75 kB / 433.5 MB, free: 4.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3445, allocations: 0 / 433.5 MB, free: 4.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001383/0.3446, allocations: 85.7 kB / 433.5 MB, free: 4.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3446, allocations: 14.31 kB / 433.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3447, allocations: 4 kB / 433.6 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.3447, allocations: 4 kB / 433.6 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.716e-05/0.3448, allocations: 12 kB / 433.6 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.3448, allocations: 7.875 kB / 433.6 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.16e-05/0.3448, allocations: 19.94 kB / 433.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.3448, allocations: 4 kB / 433.6 MB, free: 3.961 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.0001141/0.3449, allocations: 117.8 kB / 433.7 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.345, allocations: 77.72 kB / 433.8 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/0.3451, allocations: 16.72 kB / 433.8 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3451, allocations: 3.984 kB / 433.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3451, allocations: 0 / 433.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3451, allocations: 3.938 kB / 433.8 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.3452, allocations: 173.6 kB / 434 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3452, allocations: 0 / 434 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.532e-05/0.3453, allocations: 12 kB / 434 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3453, allocations: 4.125 kB / 434 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.3453, allocations: 4 kB / 434 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3453, allocations: 7.922 kB / 434 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3453, allocations: 4 kB / 434 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.3454, allocations: 97.47 kB / 434.1 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.093e-05/0.3455, allocations: 96.92 kB / 434.2 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.3455, allocations: 8 kB / 434.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.751e-05/0.3456, allocations: 0 / 434.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-06/0.3456, allocations: 0 / 434.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.3456, allocations: 0 / 434.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.299e-05/0.3456, allocations: 111.2 kB / 434.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3456, allocations: 4 kB / 434.3 MB, free: 3.129 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001974/0.3458, allocations: 8 kB / 434.3 MB, free: 3.121 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.0001174/0.346, allocations: 99.25 kB / 434.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.3461, allocations: 39.92 kB / 434.5 MB, free: 2.977 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3461, allocations: 0 / 434.5 MB, free: 2.977 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.3461, allocations: 0 / 434.5 MB, free: 2.977 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.3464, allocations: 44.5 kB / 434.5 MB, free: 2.934 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.3468, allocations: 191.3 kB / 434.7 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.3471, allocations: 0.7001 MB / 435.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.3471, allocations: 11.44 kB / 435.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3471, allocations: 0 / 435.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of Templates: time 0.002422/0.3496, allocations: 0.8323 MB / 436.3 MB, free: 1.148 MB / 334.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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