Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.002234/0.002234, allocations: 121.2 kB / 18.5 MB, free: 4.488 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.002532/0.002532, allocations: 214.6 kB / 21.46 MB, free: 1.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.684/1.684, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 59.91 kB / 373.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.141, allocations: 53.32 MB / 427.2 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.004423/0.1454, allocations: 1.472 MB / 428.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004104/0.1458, allocations: 103.7 kB / 428.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.1459, allocations: 3.938 kB / 428.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.756e-05/0.1459, allocations: 0 / 428.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.618e-05/0.146, allocations: 7.938 kB / 428.7 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.1463, allocations: 19.91 kB / 428.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.1465, allocations: 27.92 kB / 428.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.1466, allocations: 8 kB / 428.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.055e-05/0.1467, allocations: 11.92 kB / 428.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.412e-05/0.1467, allocations: 11.94 kB / 428.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.1468, allocations: 0 / 428.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.443e-05/0.1468, allocations: 8 kB / 428.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.051e-05/0.1468, allocations: 0 / 428.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.524e-05/0.1469, allocations: 19.86 kB / 428.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.147, allocations: 31.83 kB / 428.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.147, allocations: 4 kB / 428.9 MB, free: 2.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.147, allocations: 3.938 kB / 428.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.147, allocations: 0 / 428.9 MB, free: 2.75 MB / 350.1 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.0006505/0.1477, allocations: 335.4 kB / 429.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.1477, allocations: 8.031 kB / 429.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.1478, allocations: 12.89 kB / 429.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004791/0.1482, allocations: 176.3 kB / 429.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.1483, allocations: 8.375 kB / 429.4 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.1483, allocations: 4.359 kB / 429.4 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/0.1487, allocations: 107.9 kB / 429.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.1487, allocations: 8.172 kB / 429.5 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/0.1489, allocations: 3.938 kB / 429.5 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1489, allocations: 0 / 429.5 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.149, allocations: 19.98 kB / 429.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002462/0.1493, allocations: 157.6 kB / 429.7 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.1496, allocations: 54.48 kB / 429.8 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.777e-05/0.1496, allocations: 28.92 kB / 429.8 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.1497, allocations: 0 / 429.8 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.1497, allocations: 30.56 kB / 429.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1497, allocations: 3.938 kB / 429.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003293/0.15, allocations: 69.61 kB / 429.9 MB, free: 1.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001765/0.1502, allocations: 59.39 kB / 430 MB, free: 1.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.1503, allocations: 105.9 kB / 430.1 MB, free: 1.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.1504, allocations: 25.7 kB / 430.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.006e-05/0.1504, allocations: 92.06 kB / 430.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.1505, allocations: 3.984 kB / 430.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.1505, allocations: 17.72 kB / 430.2 MB, free: 1.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.1507, allocations: 310.8 kB / 430.5 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.1507, allocations: 4 kB / 430.5 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.56e-05/0.1508, allocations: 35.42 kB / 430.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.993e-05/0.1508, allocations: 39.38 kB / 430.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1508, allocations: 0 / 430.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.709e-05/0.1509, allocations: 53.72 kB / 430.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.1509, allocations: 8.031 kB / 430.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.151, allocations: 3.938 kB / 430.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.151, allocations: 4 kB / 430.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.756e-05/0.1511, allocations: 4 kB / 430.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.1511, allocations: 7.938 kB / 430.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.1511, allocations: 3.953 kB / 430.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1511, allocations: 0 / 430.7 MB, free: 0.7266 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001269/0.1512, allocations: 113.8 kB / 430.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.1514, allocations: 57.67 kB / 430.8 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.1514, allocations: 15.84 kB / 430.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1514, allocations: 3.938 kB / 430.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1514, allocations: 0 / 430.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1514, allocations: 0 / 430.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.1516, allocations: 161.6 kB / 431 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1516, allocations: 0 / 431 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.444e-05/0.1516, allocations: 8 kB / 431 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1516, allocations: 336 / 431 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1517, allocations: 4.188 kB / 431 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.1517, allocations: 11.94 kB / 431 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1517, allocations: 0 / 431 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.1518, allocations: 89.05 kB / 431.1 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/0.1519, allocations: 81.11 kB / 431.2 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.1519, allocations: 7.875 kB / 431.2 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.782e-05/0.1519, allocations: 3.984 kB / 431.2 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-06/0.1519, allocations: 4 kB / 431.2 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.1519, allocations: 0 / 431.2 MB, free: 64 kB / 350.1 MB Notification: Performance of sorting global known variables: time 7.647e-05/0.152, allocations: 87.28 kB / 431.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.152, allocations: 0 / 431.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001966/0.1522, allocations: 4 kB / 431.3 MB, free: 15.97 MB / 366.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: 0 () * 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 0.0001552/0.1524, allocations: 99.23 kB / 431.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001503/0.1525, allocations: 27.92 kB / 431.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1525, allocations: 4 kB / 431.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.1525, allocations: 256 / 431.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.1528, allocations: 22.78 kB / 431.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.1531, allocations: 117.5 kB / 431.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.1536, allocations: 0.6807 MB / 432.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.682e-05/0.1536, allocations: 0 / 432.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.1536, allocations: 11.44 kB / 432.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1536, allocations: 0 / 432.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of Templates: time 0.003358/0.157, allocations: 316.7 kB / 432.6 MB, free: 14.65 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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: 5.1014270996674895]