Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001306/0.001306, 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.001425/0.001425, allocations: 215.4 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.492/1.492, 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.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 55.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2223, allocations: 53.36 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002288/0.2246, allocations: 0.8506 MB / 433.2 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003678/0.225, allocations: 123.5 kB / 433.3 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.806e-05/0.225, allocations: 7.938 kB / 433.3 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.2251, allocations: 3.938 kB / 433.3 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.2253, allocations: 7.938 kB / 433.3 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.2255, allocations: 43.89 kB / 433.4 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.2256, allocations: 39.91 kB / 433.4 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.2257, allocations: 23.59 kB / 433.4 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.441e-05/0.2257, allocations: 19.91 kB / 433.4 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.107e-05/0.2258, allocations: 23.86 kB / 433.5 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.2258, allocations: 4 kB / 433.5 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/0.2258, allocations: 4 kB / 433.5 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/0.2259, allocations: 15.92 kB / 433.5 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.2259, allocations: 23.81 kB / 433.5 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.226, allocations: 58.75 kB / 433.6 MB, free: 5.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.226, allocations: 4 kB / 433.6 MB, free: 5.496 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.226, allocations: 3.938 kB / 433.6 MB, free: 5.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.226, allocations: 0 / 433.6 MB, free: 5.492 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.0004806/0.2265, allocations: 302 kB / 433.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.2266, allocations: 8.031 kB / 433.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.2266, allocations: 12.84 kB / 433.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.2268, allocations: 142.3 kB / 434 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.2269, allocations: 384 / 434 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.2269, allocations: 4.375 kB / 434 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.2272, allocations: 151.7 kB / 434.2 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2272, allocations: 4.125 kB / 434.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2272, allocations: 3.938 kB / 434.2 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2272, allocations: 0 / 434.2 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.343e-05/0.2272, allocations: 27.97 kB / 434.2 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.2274, allocations: 117.3 kB / 434.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.2275, allocations: 66.75 kB / 434.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.905e-05/0.2276, allocations: 52.78 kB / 434.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.2276, allocations: 0 / 434.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.2277, allocations: 34.56 kB / 434.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.81e-07/0.2277, allocations: 0 / 434.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002078/0.2279, allocations: 101.8 kB / 434.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.2279, allocations: 55.48 kB / 434.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.2281, allocations: 148.3 kB / 434.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.2281, allocations: 29.64 kB / 434.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.2281, allocations: 88.14 kB / 434.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.2282, allocations: 3.984 kB / 434.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.2282, allocations: 29.66 kB / 434.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2283, allocations: 326.8 kB / 435.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.2284, allocations: 4 kB / 435.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.367e-05/0.2284, allocations: 66.78 kB / 435.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.005e-05/0.2285, allocations: 74.75 kB / 435.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2285, allocations: 4 kB / 435.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001387/0.2286, allocations: 89.5 kB / 435.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2287, allocations: 7.938 kB / 435.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2287, allocations: 4 kB / 435.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2287, allocations: 3.938 kB / 435.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.452e-05/0.2288, allocations: 23.98 kB / 435.5 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.2288, allocations: 0 / 435.5 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.405e-05/0.2288, allocations: 8.25 kB / 435.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.2288, allocations: 4 kB / 435.5 MB, free: 3.309 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: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * 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.000109/0.2289, allocations: 133.7 kB / 435.7 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.229, allocations: 89.72 kB / 435.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.808e-05/0.2291, allocations: 12.66 kB / 435.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2291, allocations: 4 kB / 435.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2291, allocations: 0 / 435.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.2291, allocations: 0 / 435.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.924e-05/0.2292, allocations: 117.3 kB / 435.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2292, allocations: 0 / 435.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.481e-05/0.2293, allocations: 16 kB / 435.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2293, allocations: 0 / 435.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.2293, allocations: 0 / 435.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.403e-06/0.2293, allocations: 11.88 kB / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2293, allocations: 3.984 kB / 435.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.2294, allocations: 105.1 kB / 436 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.2295, allocations: 19.94 kB / 436 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.2295, allocations: 0 / 436 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.75e-05/0.2295, allocations: 7.938 kB / 436 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-06/0.2295, allocations: 0 / 436 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.2295, allocations: 8 kB / 436 MB, free: 2.723 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.568e-05/0.2296, allocations: 111.4 kB / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2296, allocations: 0 / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002055/0.2298, allocations: 15.88 kB / 436.2 MB, free: 2.598 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * 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.0001031/0.2299, allocations: 99.25 kB / 436.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.23, allocations: 51.84 kB / 436.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.23, allocations: 0.5 kB / 436.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.23, allocations: 0 / 436.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.2303, allocations: 50.41 kB / 436.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.2306, allocations: 181.2 kB / 436.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.44e-05/0.2307, allocations: 79.27 kB / 436.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.821e-05/0.2308, allocations: 8.656 kB / 436.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.2308, allocations: 15.44 kB / 436.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2308, allocations: 0 / 436.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of Templates: time 0.003221/0.234, allocations: 0.7878 MB / 437.4 MB, free: 1.293 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.262203349004267]