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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001749/0.001749, allocations: 115.8 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002042/0.002042, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.576/1.576, allocations: 227.4 MB / 246.4 MB, free: 10.81 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 58.84 kB / 306.6 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1267, allocations: 50.52 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002966/0.1297, allocations: 1.542 MB / 358.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003438/0.1301, allocations: 99.67 kB / 358.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.066e-05/0.1301, allocations: 0 / 358.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.712e-05/0.1302, allocations: 3.938 kB / 358.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.248e-05/0.1303, allocations: 0 / 358.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.1305, allocations: 19.92 kB / 358.7 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.106e-05/0.1306, allocations: 31.92 kB / 358.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1307, allocations: 11.98 kB / 358.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.045e-05/0.1308, allocations: 11.94 kB / 358.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.621e-05/0.1308, allocations: 11.92 kB / 358.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.1308, allocations: 0 / 358.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/0.1308, allocations: 4 kB / 358.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.1309, allocations: 7.938 kB / 358.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.1309, allocations: 11.94 kB / 358.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.331e-05/0.131, allocations: 27.89 kB / 358.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.131, allocations: 4 kB / 358.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.131, allocations: 4 kB / 358.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.131, allocations: 0 / 358.9 MB, free: 12.52 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.0003957/0.1314, allocations: 343.7 kB / 359.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1315, allocations: 8.031 kB / 359.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.639e-05/0.1315, allocations: 34.75 kB / 359.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.1315, allocations: 4.844 kB / 359.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.1317, allocations: 176.3 kB / 359.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1318, allocations: 4.375 kB / 359.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.1318, allocations: 4.375 kB / 359.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003332/0.1321, allocations: 107.9 kB / 359.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1321, allocations: 7.875 kB / 359.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1321, allocations: 3.938 kB / 359.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1322, allocations: 0 / 359.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.411e-05/0.1322, allocations: 23.97 kB / 359.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.1324, allocations: 157.7 kB / 359.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.1326, allocations: 50.55 kB / 359.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.229e-05/0.1326, allocations: 24.92 kB / 359.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.1327, allocations: 4 kB / 359.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.1327, allocations: 34.56 kB / 359.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 3.657e-06/0.1327, allocations: 0 / 359.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002522/0.133, allocations: 77.72 kB / 359.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.133, allocations: 55.41 kB / 360 MB, free: 11.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.547e-05/0.1331, allocations: 101.8 kB / 360.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.1332, allocations: 25.7 kB / 360.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.1332, allocations: 88.14 kB / 360.2 MB, free: 11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.514e-06/0.1332, allocations: 0 / 360.2 MB, free: 11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.1333, allocations: 21.72 kB / 360.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1334, allocations: 318.8 kB / 360.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.1334, allocations: 4 kB / 360.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.717e-05/0.1335, allocations: 31.62 kB / 360.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.333e-05/0.1335, allocations: 31.44 kB / 360.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1335, allocations: 4 kB / 360.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.834e-05/0.1336, allocations: 61.47 kB / 360.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1336, allocations: 14.75 kB / 360.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1336, allocations: 0 / 360.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1337, allocations: 0 / 360.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.872e-05/0.1337, allocations: 12.11 kB / 360.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1337, allocations: 4 kB / 360.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.442e-05/0.1338, allocations: 7.938 kB / 360.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-06/0.1338, allocations: 0 / 360.7 MB, free: 10.45 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.707e-05/0.1339, allocations: 117.8 kB / 360.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.134, allocations: 57.56 kB / 360.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.138e-05/0.134, allocations: 11.89 kB / 360.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.134, allocations: 4 kB / 360.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1341, allocations: 0 / 360.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1341, allocations: 4 kB / 360.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.1342, allocations: 157.6 kB / 361 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1342, allocations: 0 / 361 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.356e-05/0.1343, allocations: 11.98 kB / 361 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1343, allocations: 3.938 kB / 361 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1343, allocations: 0 / 361 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1343, allocations: 0 / 361 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1343, allocations: 0 / 361 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.1344, allocations: 92.95 kB / 361.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.1345, allocations: 77.11 kB / 361.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.1345, allocations: 7.938 kB / 361.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.247e-05/0.1345, allocations: 0 / 361.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-06/0.1345, allocations: 0 / 361.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.1346, allocations: 0 / 361.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.277e-05/0.1346, allocations: 91.27 kB / 361.3 MB, free: 9.719 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1346, allocations: 0 / 361.3 MB, free: 9.719 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001856/0.1348, allocations: 4 kB / 361.3 MB, free: 9.715 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.0004553/0.1353, allocations: 0.6201 MB / 361.9 MB, free: 9.066 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.1354, allocations: 23.92 kB / 362 MB, free: 9.043 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.1354, allocations: 8 kB / 362 MB, free: 9.035 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-07/0.1354, allocations: 256 / 362 MB, free: 9.035 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.1357, allocations: 39.08 kB / 362 MB, free: 9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.1367, allocations: 1.162 MB / 363.2 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.1371, allocations: 0.6807 MB / 363.8 MB, free: 7.031 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.317e-05/0.1372, allocations: 0 / 363.8 MB, free: 7.031 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.1372, allocations: 15.42 kB / 363.9 MB, free: 7.016 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1372, allocations: 0 / 363.9 MB, free: 7.016 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1305/0.2677, allocations: 1.147 MB / 365 MB, free: 6.004 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005177/0.2684, allocations: 217.8 kB / 365.2 MB, free: 5.746 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.016/2.285, allocations: 3.625 kB / 365.2 MB, free: 5.746 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/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