Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 105.2 kB / 16.5 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 194.4 kB / 17.42 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 42.92 kB / 300.1 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1224, allocations: 49.45 MB / 349.5 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.004414/0.1269, allocations: 1.522 MB / 351 MB, free: 3.219 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003263/0.1273, allocations: 99.67 kB / 351.1 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.615e-05/0.1274, allocations: 0 / 351.1 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.13e-05/0.1275, allocations: 3.938 kB / 351.1 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.818e-05/0.1276, allocations: 0 / 351.1 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.1279, allocations: 24.78 kB / 351.2 MB, free: 3.094 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.128, allocations: 27.94 kB / 351.2 MB, free: 3.066 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1281, allocations: 15.92 kB / 351.2 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.661e-05/0.1282, allocations: 4 kB / 351.2 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.49e-05/0.1282, allocations: 11.92 kB / 351.2 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.1283, allocations: 4 kB / 351.2 MB, free: 3.031 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.1283, allocations: 3.938 kB / 351.2 MB, free: 3.027 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.1283, allocations: 7.938 kB / 351.2 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.939e-05/0.1284, allocations: 7.938 kB / 351.2 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.958e-05/0.1284, allocations: 31.89 kB / 351.3 MB, free: 2.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1285, allocations: 4 kB / 351.3 MB, free: 2.977 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1285, allocations: 0 / 351.3 MB, free: 2.977 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.1285, allocations: 0 / 351.3 MB, free: 2.977 MB / 286.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.0004944/0.129, allocations: 343.7 kB / 351.6 MB, free: 2.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.129, allocations: 12.03 kB / 351.6 MB, free: 2.578 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.41e-05/0.1291, allocations: 30.75 kB / 351.7 MB, free: 2.539 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.1291, allocations: 8.844 kB / 351.7 MB, free: 2.531 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.1294, allocations: 172.4 kB / 351.8 MB, free: 2.324 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.1294, allocations: 384 / 351.8 MB, free: 2.324 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.1294, allocations: 8.375 kB / 351.8 MB, free: 2.316 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/0.1298, allocations: 111.7 kB / 352 MB, free: 2.195 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.1298, allocations: 7.922 kB / 352 MB, free: 2.188 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1299, allocations: 4 kB / 352 MB, free: 2.184 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.1299, allocations: 0 / 352 MB, free: 2.184 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.083e-05/0.13, allocations: 19.98 kB / 352 MB, free: 2.164 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.1302, allocations: 153.6 kB / 352.1 MB, free: 1.965 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.1304, allocations: 54.55 kB / 352.2 MB, free: 1.902 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.524e-05/0.1305, allocations: 24.92 kB / 352.2 MB, free: 1.875 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.1305, allocations: 0 / 352.2 MB, free: 1.875 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.1305, allocations: 46.5 kB / 352.3 MB, free: 1.82 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.1305, allocations: 0 / 352.3 MB, free: 1.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003055/0.1308, allocations: 73.61 kB / 352.3 MB, free: 1.742 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.1309, allocations: 51.41 kB / 352.4 MB, free: 1.68 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.131, allocations: 105.8 kB / 352.5 MB, free: 1.566 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.1311, allocations: 25.7 kB / 352.5 MB, free: 1.535 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/0.1311, allocations: 88.12 kB / 352.6 MB, free: 1.445 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.091e-05/0.1311, allocations: 0 / 352.6 MB, free: 1.445 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/0.1312, allocations: 17.72 kB / 352.6 MB, free: 1.422 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1314, allocations: 322.8 kB / 352.9 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.1314, allocations: 0 / 352.9 MB, free: 1.098 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.698e-05/0.1314, allocations: 31.38 kB / 353 MB, free: 1.055 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.712e-05/0.1315, allocations: 39.36 kB / 353 MB, free: 1.004 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1315, allocations: 0 / 353 MB, free: 1.004 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.738e-05/0.1316, allocations: 57.55 kB / 353.1 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1316, allocations: 7.938 kB / 353.1 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.1316, allocations: 3.984 kB / 353.1 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1317, allocations: 4 kB / 353.1 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.367e-05/0.1317, allocations: 4.125 kB / 353.1 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/0.1317, allocations: 11.94 kB / 353.1 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.257e-05/0.1318, allocations: 3.938 kB / 353.1 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.1318, allocations: 0 / 353.1 MB, free: 0.9062 MB / 286.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 9.034e-05/0.1319, allocations: 117.8 kB / 353.2 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.132, allocations: 61.61 kB / 353.3 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/0.132, allocations: 7.906 kB / 353.3 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.132, allocations: 0 / 353.3 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.132, allocations: 0 / 353.3 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.132, allocations: 4 kB / 353.3 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.1322, allocations: 149.7 kB / 353.4 MB, free: 0.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1322, allocations: 0 / 353.4 MB, free: 0.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.806e-05/0.1322, allocations: 15.98 kB / 353.4 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.1322, allocations: 4.266 kB / 353.4 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1323, allocations: 3.938 kB / 353.4 MB, free: 488 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1323, allocations: 0 / 353.4 MB, free: 488 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1323, allocations: 0 / 353.4 MB, free: 488 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.1324, allocations: 100.9 kB / 353.5 MB, free: 368 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.1325, allocations: 77.11 kB / 353.6 MB, free: 272 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.1325, allocations: 3.938 kB / 353.6 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.237e-05/0.1325, allocations: 256 / 353.6 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-06/0.1325, allocations: 4 kB / 353.6 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.1326, allocations: 4 kB / 353.6 MB, free: 260 kB / 286.1 MB Notification: Performance of sorting global known variables: time 4.247e-05/0.1326, allocations: 87.27 kB / 353.7 MB, free: 172 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1326, allocations: 0 / 353.7 MB, free: 172 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001936/0.1328, allocations: 4 kB / 353.7 MB, free: 168 kB / 286.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.0005002/0.1333, allocations: 0.6275 MB / 354.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001164/0.1334, allocations: 23.98 kB / 354.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1335, allocations: 0 / 354.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.1335, allocations: 256 / 354.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.1337, allocations: 31.92 kB / 354.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.1348, allocations: 1.16 MB / 355.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.1351, allocations: 0.6848 MB / 356.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.625e-05/0.1351, allocations: 0 / 356.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.1352, allocations: 15.42 kB / 356.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1352, allocations: 0 / 356.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0112/0.1464, allocations: 1.097 MB / 357.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/0.1466, allocations: 219.1 kB / 357.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.113/2.26, allocations: 0 / 357.6 MB, free: 12.23 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches