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.00124/0.00124, allocations: 113.5 kB / 16.63 MB, free: 6.816 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.001248/0.001248, allocations: 189.8 kB / 17.55 MB, free: 5.93 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.522/1.522, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 46.48 kB / 300.3 MB, free: 6.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1318, allocations: 49.44 MB / 349.7 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.00443/0.1363, allocations: 1.507 MB / 351.2 MB, free: 3.145 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003145/0.1367, allocations: 31.84 kB / 351.2 MB, free: 3.113 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.738e-05/0.1368, allocations: 4 kB / 351.2 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.365e-05/0.1369, allocations: 4 kB / 351.2 MB, free: 3.105 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.06e-05/0.137, allocations: 3.938 kB / 351.2 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.1373, allocations: 15.98 kB / 351.3 MB, free: 3.086 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.1374, allocations: 31.92 kB / 351.3 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1375, allocations: 7.984 kB / 351.3 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.908e-05/0.1376, allocations: 11.94 kB / 351.3 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.123e-05/0.1377, allocations: 15.92 kB / 351.3 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.1377, allocations: 0 / 351.3 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.1377, allocations: 4 kB / 351.3 MB, free: 3.016 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.431e-05/0.1377, allocations: 11.94 kB / 351.3 MB, free: 3.004 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.768e-05/0.1378, allocations: 15.92 kB / 351.4 MB, free: 2.988 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.138, allocations: 31.89 kB / 351.4 MB, free: 2.957 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.138, allocations: 0 / 351.4 MB, free: 2.957 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.138, allocations: 0 / 351.4 MB, free: 2.957 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.138, allocations: 0 / 351.4 MB, free: 2.957 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.0005639/0.1386, allocations: 347.7 kB / 351.7 MB, free: 2.566 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.1387, allocations: 8.031 kB / 351.7 MB, free: 2.559 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.573e-05/0.1387, allocations: 38.69 kB / 351.8 MB, free: 2.512 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.1388, allocations: 4.844 kB / 351.8 MB, free: 2.508 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.1392, allocations: 176.4 kB / 351.9 MB, free: 2.297 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.1392, allocations: 4.375 kB / 352 MB, free: 2.293 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.1392, allocations: 4.312 kB / 352 MB, free: 2.289 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.1397, allocations: 131.8 kB / 352.1 MB, free: 2.148 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1397, allocations: 7.938 kB / 352.1 MB, free: 2.141 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1397, allocations: 4 kB / 352.1 MB, free: 2.137 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1397, allocations: 0 / 352.1 MB, free: 2.137 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.1399, allocations: 27.97 kB / 352.1 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/0.1401, allocations: 157.6 kB / 352.3 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.1403, allocations: 62.47 kB / 352.3 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.837e-05/0.1404, allocations: 32.91 kB / 352.4 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.1404, allocations: 0 / 352.4 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.1405, allocations: 34.56 kB / 352.4 MB, free: 1.758 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.1405, allocations: 4 kB / 352.4 MB, free: 1.754 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003387/0.1409, allocations: 77.59 kB / 352.5 MB, free: 1.672 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.141, allocations: 55.41 kB / 352.5 MB, free: 1.605 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.1411, allocations: 105.8 kB / 352.6 MB, free: 1.492 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.1411, allocations: 25.7 kB / 352.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.1412, allocations: 88.08 kB / 352.8 MB, free: 1.371 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.1412, allocations: 4 kB / 352.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.1413, allocations: 13.72 kB / 352.8 MB, free: 1.348 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.1415, allocations: 322.8 kB / 353.1 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.631e-05/0.1415, allocations: 8 kB / 353.1 MB, free: 1.016 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.903e-05/0.1416, allocations: 23.44 kB / 353.1 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.431e-05/0.1416, allocations: 43.38 kB / 353.2 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1416, allocations: 0 / 353.2 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001097/0.1418, allocations: 61.53 kB / 353.2 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.1418, allocations: 7.938 kB / 353.2 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1418, allocations: 0 / 353.2 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.1418, allocations: 4 kB / 353.2 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.675e-05/0.1419, allocations: 7.984 kB / 353.2 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.1419, allocations: 7.938 kB / 353.2 MB, free: 0.832 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.383e-05/0.1423, allocations: 4.125 kB / 353.2 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.1423, allocations: 7.938 kB / 353.3 MB, free: 0.8203 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: 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 0.0001289/0.1424, allocations: 109.8 kB / 353.4 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.1426, allocations: 69.61 kB / 353.4 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/0.1427, allocations: 3.906 kB / 353.4 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.1427, allocations: 0 / 353.4 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1427, allocations: 0 / 353.4 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1427, allocations: 7.984 kB / 353.4 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.1429, allocations: 161.5 kB / 353.6 MB, free: 412 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.1429, allocations: 4.375 kB / 353.6 MB, free: 408 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.033e-05/0.143, allocations: 11.98 kB / 353.6 MB, free: 396 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.143, allocations: 3.938 kB / 353.6 MB, free: 392 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.143, allocations: 7.938 kB / 353.6 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.143, allocations: 0 / 353.6 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.143, allocations: 0 / 353.6 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.1434, allocations: 85.11 kB / 353.7 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.688e-05/0.1434, allocations: 93.31 kB / 353.8 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.1435, allocations: 3.938 kB / 353.8 MB, free: 164 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.152e-05/0.1435, allocations: 8 kB / 353.8 MB, free: 156 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-06/0.1435, allocations: 3.984 kB / 353.8 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1435, allocations: 0 / 353.8 MB, free: 152 kB / 286.1 MB Notification: Performance of sorting global known variables: time 6.321e-05/0.1436, allocations: 87.27 kB / 353.9 MB, free: 64 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1436, allocations: 0 / 353.9 MB, free: 64 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002032/0.1438, allocations: 4 kB / 353.9 MB, free: 60 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: 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.0008578/0.1447, allocations: 0.6591 MB / 354.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.1449, allocations: 31.91 kB / 354.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1449, allocations: 0 / 354.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.1449, allocations: 0 / 354.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000485/0.1454, allocations: 27.98 kB / 354.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.1471, allocations: 1.178 MB / 355.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006556/0.1478, allocations: 0.6845 MB / 356.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.529e-05/0.1478, allocations: 256 / 356.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.825e-05/0.1479, allocations: 19.44 kB / 356.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1479, allocations: 0 / 356.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.1705, allocations: 1.264 MB / 357.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002572/0.1708, allocations: 222.4 kB / 358 MB, free: 11.92 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.048/2.218, allocations: 4.062 kB / 358 MB, free: 11.92 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