Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",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.0009527/0.0009527, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.0009376/0.000938, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.583/1.583, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.000374, allocations: 4 kB / 301.5 MB, free: 5.754 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1316, allocations: 50.4 MB / 351.9 MB, free: 3.336 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.001903/0.1336, allocations: 1.178 MB / 353.1 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002209/0.1339, allocations: 27.91 kB / 353.1 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.448e-05/0.1339, allocations: 3.938 kB / 353.2 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.015e-05/0.134, allocations: 7.938 kB / 353.2 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.099e-05/0.134, allocations: 0 / 353.2 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.1343, allocations: 23.91 kB / 353.2 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.749e-05/0.1344, allocations: 19.98 kB / 353.2 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1346, allocations: 8 kB / 353.2 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.605e-05/0.1346, allocations: 11.92 kB / 353.2 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.848e-05/0.1347, allocations: 19.92 kB / 353.2 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.1347, allocations: 4 kB / 353.2 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/0.1347, allocations: 0 / 353.2 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.449e-05/0.1347, allocations: 3.938 kB / 353.3 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.78e-05/0.1348, allocations: 45.56 kB / 353.3 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.276e-05/0.1349, allocations: 19.91 kB / 353.3 MB, free: 1.945 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1349, allocations: 4 kB / 353.3 MB, free: 1.941 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1349, allocations: 0 / 353.3 MB, free: 1.941 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.1349, allocations: 0 / 353.3 MB, free: 1.941 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.0004526/0.1354, allocations: 343.7 kB / 353.7 MB, free: 1.555 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.1354, allocations: 8.031 kB / 353.7 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.675e-05/0.1355, allocations: 38.75 kB / 353.7 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.1356, allocations: 8.828 kB / 353.7 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.1358, allocations: 176.4 kB / 353.9 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.1358, allocations: 4.375 kB / 353.9 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.1358, allocations: 384 / 353.9 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.1362, allocations: 123.8 kB / 354 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1362, allocations: 15.81 kB / 354 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1363, allocations: 0 / 354 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.1363, allocations: 0 / 354 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.1364, allocations: 27.97 kB / 354 MB, free: 1.102 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.1366, allocations: 157.7 kB / 354.2 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.1367, allocations: 54.55 kB / 354.3 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.664e-05/0.1368, allocations: 28.92 kB / 354.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.1369, allocations: 4 kB / 354.3 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.1369, allocations: 30.56 kB / 354.3 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1369, allocations: 3.938 kB / 354.3 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003081/0.1372, allocations: 89.48 kB / 354.4 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.1373, allocations: 59.41 kB / 354.5 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.408e-05/0.1374, allocations: 109.8 kB / 354.6 MB, free: 488 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.1374, allocations: 25.7 kB / 354.6 MB, free: 456 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.1374, allocations: 84.14 kB / 354.7 MB, free: 368 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.1375, allocations: 4 kB / 354.7 MB, free: 364 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.1375, allocations: 13.72 kB / 354.7 MB, free: 344 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1376, allocations: 314.8 kB / 355 MB, free: 20 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/0.1377, allocations: 8 kB / 355 MB, free: 12 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.909e-05/0.1377, allocations: 35.31 kB / 355 MB, free: 15.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.638e-05/0.1378, allocations: 35.44 kB / 355.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1378, allocations: 0 / 355.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.716e-05/0.1379, allocations: 65.47 kB / 355.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1379, allocations: 7.938 kB / 355.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1379, allocations: 4 kB / 355.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.138, allocations: 4.125 kB / 355.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.294e-05/0.138, allocations: 11.98 kB / 355.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1381, allocations: 0 / 355.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.1381, allocations: 0 / 355.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1381, allocations: 4 kB / 355.2 MB, free: 15.82 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: 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 (5): * Single equations (assignments): 5 * 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.386e-05/0.1382, allocations: 121.7 kB / 355.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.1384, allocations: 69.61 kB / 355.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.1384, allocations: 3.906 kB / 355.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1384, allocations: 0 / 355.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1384, allocations: 4 kB / 355.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1384, allocations: 3.984 kB / 355.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.1385, allocations: 153.7 kB / 355.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.1385, allocations: 0 / 355.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.1386, allocations: 11.98 kB / 355.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.1386, allocations: 7.938 kB / 355.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.1386, allocations: 4 kB / 355.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1387, allocations: 0 / 355.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1387, allocations: 0 / 355.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.1389, allocations: 97.69 kB / 355.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.1389, allocations: 89.03 kB / 355.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.1389, allocations: 3.938 kB / 355.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.305e-05/0.139, allocations: 4 kB / 355.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-06/0.139, allocations: 0 / 355.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.139, allocations: 384 / 355.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.521e-05/0.1391, allocations: 91.27 kB / 355.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1391, allocations: 4 kB / 355.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001932/0.1393, allocations: 4 kB / 355.8 MB, free: 15.05 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: 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 0.000581/0.1398, allocations: 0.6552 MB / 356.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.14, allocations: 31.97 kB / 356.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.14, allocations: 0 / 356.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.14, allocations: 0 / 356.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.1403, allocations: 32.23 kB / 356.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.1414, allocations: 1.189 MB / 357.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.1416, allocations: 0.6887 MB / 358.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.249e-05/0.1417, allocations: 0 / 358.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.1417, allocations: 15.44 kB / 358.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1417, allocations: 0 / 358.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01179/0.1535, allocations: 1.158 MB / 359.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.1538, allocations: 213.6 kB / 359.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/2.175, allocations: 0 / 359.8 MB, free: 11.02 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches