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.001649/0.001649, allocations: 84.62 kB / 20.68 MB, free: 1.023 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.002203/0.002203, allocations: 164.5 kB / 23.95 MB, free: 4.156 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.498/1.498, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.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 1.542e-06/1.542e-06, allocations: 0 / 325.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.428e-05, allocations: 3.406 kB / 325.1 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002082/0.002106, allocations: 0.9645 MB / 326 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003981/0.002505, allocations: 123 kB / 326.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.043e-05/0.002585, allocations: 1.219 kB / 326.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.715e-05/0.002642, allocations: 9.281 kB / 326.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.00278, allocations: 16.39 kB / 326.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.003005, allocations: 25.22 kB / 326.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.003143, allocations: 49.06 kB / 326.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.003265, allocations: 21.05 kB / 326.3 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.374e-05/0.003319, allocations: 20.59 kB / 326.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.06e-05/0.003369, allocations: 16.11 kB / 326.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.428e-05/0.003404, allocations: 3.5 kB / 326.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.003416, allocations: 3.406 kB / 326.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.003471, allocations: 18.86 kB / 326.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.003509, allocations: 14.5 kB / 326.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.003642, allocations: 50.19 kB / 326.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.003644, allocations: 0 / 326.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.003645, allocations: 5.891 kB / 326.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.003655, allocations: 0 / 326.4 MB, free: 15.72 MB / 302.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.0005071/0.004162, allocations: 299.7 kB / 326.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.004198, allocations: 9.219 kB / 326.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.004236, allocations: 9.328 kB / 326.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.00447, allocations: 143.2 kB / 326.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.004477, allocations: 2.625 kB / 326.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.004496, allocations: 7.688 kB / 326.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.004782, allocations: 126.6 kB / 327 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.004792, allocations: 192 / 327 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.004801, allocations: 1.438 kB / 327 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.004809, allocations: 5.922 kB / 327 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.184e-05/0.004851, allocations: 13.97 kB / 327 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.00501, allocations: 117.9 kB / 327.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.005156, allocations: 61.28 kB / 327.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.746e-05/0.005223, allocations: 40.84 kB / 327.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.655e-06/0.005231, allocations: 4.938 kB / 327.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.005262, allocations: 33.36 kB / 327.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.005264, allocations: 3.938 kB / 327.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002149/0.005479, allocations: 88.44 kB / 327.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.005546, allocations: 55.19 kB / 327.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.005684, allocations: 139.5 kB / 327.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.005706, allocations: 31.02 kB / 327.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.005766, allocations: 86.56 kB / 327.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.035e-05/0.005777, allocations: 1.094 kB / 327.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.005811, allocations: 14.5 kB / 327.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.005961, allocations: 317.7 kB / 328 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.005972, allocations: 5.828 kB / 328 MB, free: 14.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.644e-06/0.00598, allocations: 2.25 kB / 328 MB, free: 14.26 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.757e-05/0.006007, allocations: 14.53 kB / 328 MB, free: 14.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.006009, allocations: 0 / 328 MB, free: 14.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.411e-05/0.006073, allocations: 47.42 kB / 328.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.006086, allocations: 6.25 kB / 328.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.00609, allocations: 0 / 328.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.006104, allocations: 1.125 kB / 328.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.309e-05/0.006147, allocations: 3.016 kB / 328.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.006154, allocations: 8.031 kB / 328.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.409e-05/0.006168, allocations: 2.281 kB / 328.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.006172, allocations: 0 / 328.1 MB, free: 14.2 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001012/0.006273, allocations: 116.5 kB / 328.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.006378, allocations: 78.73 kB / 328.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.006416, allocations: 17.08 kB / 328.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.006418, allocations: 1.219 kB / 328.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.006424, allocations: 3.938 kB / 328.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.006428, allocations: 1.922 kB / 328.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.006534, allocations: 113.9 kB / 328.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.006536, allocations: 5.953 kB / 328.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.643e-05/0.006593, allocations: 11.94 kB / 328.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.006595, allocations: 1.438 kB / 328.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.006603, allocations: 0 / 328.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.006605, allocations: 0.7031 kB / 328.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.006605, allocations: 5.312 kB / 328.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.006749, allocations: 107.2 kB / 328.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.006793, allocations: 20.48 kB / 328.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.00681, allocations: 1.281 kB / 328.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.849e-05/0.006828, allocations: 1.531 kB / 328.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.077e-05/0.006839, allocations: 4.547 kB / 328.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.006844, allocations: 5.219 kB / 328.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.301e-05/0.006937, allocations: 108.9 kB / 328.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.006937, allocations: 0 / 328.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001889/0.007126, allocations: 14.38 kB / 328.7 MB, free: 13.67 MB / 302.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.0001247/0.00725, allocations: 95.2 kB / 328.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.935e-05/0.00735, allocations: 19.06 kB / 328.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.007352, allocations: 1.406 kB / 328.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.007352, allocations: 0 / 328.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.007677, allocations: 62.88 kB / 328.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.008007, allocations: 159.9 kB / 329 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.038e-05/0.008097, allocations: 86.5 kB / 329.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.644e-05/0.008113, allocations: 2.188 kB / 329.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.008142, allocations: 10.88 kB / 329.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.008142, allocations: 1.062 kB / 329.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of Templates: time 0.003198/0.01134, allocations: 0.6228 MB / 329.7 MB, free: 13.21 MB / 302.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: 4.422343172132969]