Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.0007937/0.0007937, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001151/0.001945, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007768/0.0007768, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003887/0.004663, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.102/1.102, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1057/1.207, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.418e-05/1.565e-05, allocations: 6.25 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002375/0.002391, allocations: 1.571 MB / 246.1 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001103/0.002501, allocations: 31.91 kB / 246.1 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.77e-05/0.002559, allocations: 3.938 kB / 246.1 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.382e-05/0.002583, allocations: 0 / 246.1 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.604e-05/0.002609, allocations: 3.938 kB / 246.1 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.002757, allocations: 23.97 kB / 246.2 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.694e-05/0.002854, allocations: 27.92 kB / 246.2 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.002942, allocations: 7.938 kB / 246.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.82e-05/0.003021, allocations: 23.97 kB / 246.2 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.9e-05/0.00307, allocations: 11.98 kB / 246.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.003094, allocations: 4 kB / 246.2 MB, free: 12.6 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.003104, allocations: 0 / 246.2 MB, free: 12.6 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.003124, allocations: 7.938 kB / 246.2 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.132e-05/0.003155, allocations: 8 kB / 246.3 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.003256, allocations: 27.8 kB / 246.3 MB, free: 12.56 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.946e-05/0.003276, allocations: 0 / 246.3 MB, free: 12.56 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.003277, allocations: 0 / 246.3 MB, free: 12.56 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.003294, allocations: 0 / 246.3 MB, free: 12.56 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004291/0.003723, allocations: 248.6 kB / 246.5 MB, free: 12.29 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.003761, allocations: 12.03 kB / 246.5 MB, free: 12.28 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.003794, allocations: 4.938 kB / 246.5 MB, free: 12.27 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.003962, allocations: 117.7 kB / 246.7 MB, free: 12.13 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.003987, allocations: 8.375 kB / 246.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-06/0.003995, allocations: 384 / 246.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.004207, allocations: 100.6 kB / 246.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.004215, allocations: 4.125 kB / 246.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.004222, allocations: 4.312 kB / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.004227, allocations: 4.375 kB / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.678e-05/0.004254, allocations: 7.938 kB / 246.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.117e-05/0.004325, allocations: 61.03 kB / 246.8 MB, free: 11.92 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.342e-05/0.004388, allocations: 26.58 kB / 246.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.884e-05/0.004417, allocations: 20.83 kB / 246.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.563e-06/0.004424, allocations: 0 / 246.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.004446, allocations: 30.56 kB / 246.9 MB, free: 11.82 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.004447, allocations: 0 / 246.9 MB, free: 11.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001137/0.004561, allocations: 49.62 kB / 247 MB, free: 11.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.004611, allocations: 55.41 kB / 247 MB, free: 11.7 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.358e-05/0.004674, allocations: 114.7 kB / 247.1 MB, free: 11.57 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.004685, allocations: 25.7 kB / 247.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.426e-05/0.004709, allocations: 84.12 kB / 247.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.078e-05/0.00472, allocations: 4 kB / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.00475, allocations: 13.72 kB / 247.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.052e-05/0.004841, allocations: 322.8 kB / 247.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.02e-06/0.004846, allocations: 256 / 247.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.458e-06/0.00485, allocations: 0 / 247.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.277e-05/0.004873, allocations: 16.8 kB / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.004876, allocations: 0 / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.647e-05/0.004932, allocations: 41.75 kB / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.004948, allocations: 6.969 kB / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.004953, allocations: 0 / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.004966, allocations: 4 kB / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.206e-05/0.005018, allocations: 4 kB / 247.6 MB, free: 11.03 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.005021, allocations: 0 / 247.6 MB, free: 11.03 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.347e-05/0.005034, allocations: 4 kB / 247.6 MB, free: 11.03 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-06/0.005036, allocations: 0 / 247.6 MB, free: 11.03 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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 6.53e-05/0.005102, allocations: 113.8 kB / 247.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.005146, allocations: 49.56 kB / 247.8 MB, free: 10.85 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.513e-05/0.005171, allocations: 12.03 kB / 247.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.005173, allocations: 0 / 247.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.005175, allocations: 0 / 247.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.005178, allocations: 0 / 247.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.13e-05/0.00524, allocations: 73.78 kB / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.005241, allocations: 0 / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.00529, allocations: 8 kB / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.0053, allocations: 7.984 kB / 247.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.005302, allocations: 0 / 247.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-06/0.005306, allocations: 0 / 247.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.005309, allocations: 3.984 kB / 247.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.00531, allocations: 4 kB / 247.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.706e-05/0.005357, allocations: 57.77 kB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.005374, allocations: 8 kB / 248 MB, free: 10.65 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.881e-05/0.005393, allocations: 3.984 kB / 248 MB, free: 10.64 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-06/0.005396, allocations: 0 / 248 MB, free: 10.64 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.005401, allocations: 4 kB / 248 MB, free: 10.64 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.646e-05/0.005417, allocations: 12.86 kB / 248 MB, free: 10.62 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.005418, allocations: 0 / 248 MB, free: 10.62 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.005592, allocations: 4 kB / 248 MB, free: 10.62 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 8.397e-05/0.005676, allocations: 80.41 kB / 248.1 MB, free: 10.53 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.844e-05/0.005744, allocations: 12.86 kB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.005749, allocations: 4 kB / 248.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.61e-07/0.005749, allocations: 4 kB / 248.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.005915, allocations: 32.05 kB / 248.1 MB, free: 10.48 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.006314, allocations: 123.4 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.841e-05/0.006352, allocations: 59.34 kB / 248.3 MB, free: 10.25 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.267e-05/0.006365, allocations: 0 / 248.3 MB, free: 10.25 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.006412, allocations: 51.38 kB / 248.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.006412, allocations: 4.062 kB / 248.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of Templates: time 0.002242/0.008654, allocations: 477.8 kB / 248.8 MB, free: 9.734 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4576091207563877]