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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001159/0.001159, allocations: 107.1 kB / 17.32 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001335, allocations: 205.8 kB / 18.26 MB, free: 4.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 246.4 MB, free: 9.102 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 67.81 kB / 306.4 MB, free: 0.7109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1333, allocations: 50.53 MB / 357 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.004248/0.1375, allocations: 1.523 MB / 358.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003014/0.1379, allocations: 99.75 kB / 358.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.444e-05/0.138, allocations: 0 / 358.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.1381, allocations: 7.922 kB / 358.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.719e-05/0.1381, allocations: 3.984 kB / 358.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.1384, allocations: 19.56 kB / 358.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.865e-05/0.1384, allocations: 31.86 kB / 358.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1386, allocations: 11.98 kB / 358.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.125e-05/0.1386, allocations: 11.98 kB / 358.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.271e-05/0.1386, allocations: 7.938 kB / 358.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.1387, allocations: 4 kB / 358.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.09e-05/0.1387, allocations: 4 kB / 358.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.1387, allocations: 11.88 kB / 358.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.1387, allocations: 15.92 kB / 358.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.021e-05/0.1388, allocations: 27.89 kB / 358.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1389, allocations: 0 / 358.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1389, allocations: 0 / 358.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.1389, allocations: 0 / 358.8 MB, free: 12.4 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004146/0.1393, allocations: 343.7 kB / 359.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1393, allocations: 12.03 kB / 359.1 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.1394, allocations: 8.844 kB / 359.1 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.1396, allocations: 172.4 kB / 359.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1396, allocations: 8.375 kB / 359.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.1396, allocations: 384 / 359.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.1399, allocations: 115.7 kB / 359.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1399, allocations: 8.125 kB / 359.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.14, allocations: 3.938 kB / 359.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.14, allocations: 0 / 359.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.859e-05/0.14, allocations: 19.98 kB / 359.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.1402, allocations: 153.7 kB / 359.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.1404, allocations: 54.58 kB / 359.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.956e-05/0.1404, allocations: 28.88 kB / 359.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.1405, allocations: 4 kB / 359.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1405, allocations: 34.5 kB / 359.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1405, allocations: 0 / 359.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002342/0.1407, allocations: 69.61 kB / 359.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.1408, allocations: 59.41 kB / 359.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.692e-05/0.1409, allocations: 105.8 kB / 359.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1409, allocations: 25.7 kB / 360 MB, free: 10.99 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.141, allocations: 84.14 kB / 360 MB, free: 10.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.141, allocations: 7.984 kB / 360 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.141, allocations: 13.72 kB / 360.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1412, allocations: 314.8 kB / 360.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.1412, allocations: 4 kB / 360.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.402e-05/0.1412, allocations: 35.36 kB / 360.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.48e-05/0.1413, allocations: 27.44 kB / 360.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1413, allocations: 0 / 360.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.806e-05/0.1414, allocations: 61.59 kB / 360.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1414, allocations: 12 kB / 360.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.1415, allocations: 3.938 kB / 360.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1415, allocations: 0 / 360.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.214e-05/0.1415, allocations: 8 kB / 360.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1415, allocations: 0 / 360.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.192e-05/0.1416, allocations: 8 kB / 360.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-06/0.1416, allocations: 3.938 kB / 360.5 MB, free: 10.37 MB / 302.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 8.773e-05/0.1417, allocations: 117.7 kB / 360.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.1418, allocations: 65.61 kB / 360.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/0.1419, allocations: 7.844 kB / 360.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1419, allocations: 4 kB / 360.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1419, allocations: 0 / 360.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1419, allocations: 3.938 kB / 360.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.142, allocations: 157.7 kB / 360.9 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1421, allocations: 0 / 360.9 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.481e-05/0.1421, allocations: 8.25 kB / 360.9 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1421, allocations: 0 / 360.9 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.1421, allocations: 7.938 kB / 360.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1422, allocations: 4 kB / 360.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1422, allocations: 0 / 360.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.1423, allocations: 88.95 kB / 361 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.1424, allocations: 77.11 kB / 361.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.1424, allocations: 11.94 kB / 361.1 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.496e-05/0.1424, allocations: 3.984 kB / 361.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-06/0.1424, allocations: 0 / 361.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1425, allocations: 0 / 361.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.146e-05/0.1425, allocations: 87.28 kB / 361.2 MB, free: 9.629 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1425, allocations: 0 / 361.2 MB, free: 9.629 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001859/0.1427, allocations: 8 kB / 361.2 MB, free: 9.621 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: 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.0001077/0.1428, allocations: 95.25 kB / 361.3 MB, free: 9.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.143, allocations: 27.91 kB / 361.3 MB, free: 9.492 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.143, allocations: 0 / 361.3 MB, free: 9.492 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.143, allocations: 256 / 361.3 MB, free: 9.492 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.1432, allocations: 27.22 kB / 361.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.1435, allocations: 121.5 kB / 361.4 MB, free: 9.324 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.1438, allocations: 0.6808 MB / 362.1 MB, free: 8.617 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.263e-05/0.1438, allocations: 7.938 kB / 362.1 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.1438, allocations: 7.438 kB / 362.1 MB, free: 8.602 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1438, allocations: 4 kB / 362.1 MB, free: 8.598 MB / 302.1 MB Notification: Performance of Templates: time 0.002498/0.1463, allocations: 316.7 kB / 362.4 MB, free: 8.289 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches