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.001725/0.001725, allocations: 107.3 kB / 16.92 MB, free: 5.77 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.001963/0.001964, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.524/1.524, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001128, allocations: 51.52 kB / 300.7 MB, free: 5.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1307, allocations: 49.43 MB / 350.2 MB, free: 4.348 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002782/0.1335, allocations: 1.468 MB / 351.6 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002625/0.1338, allocations: 97.11 kB / 351.7 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.757e-05/0.1339, allocations: 4 kB / 351.7 MB, free: 2.766 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.1339, allocations: 3.938 kB / 351.7 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.004e-05/0.134, allocations: 7.922 kB / 351.7 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.1342, allocations: 22.11 kB / 351.8 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.438e-05/0.1343, allocations: 31.86 kB / 351.8 MB, free: 2.703 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.332e-05/0.1344, allocations: 15.98 kB / 351.8 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.852e-05/0.1344, allocations: 8 kB / 351.8 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.959e-05/0.1345, allocations: 7.938 kB / 351.8 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.1345, allocations: 4 kB / 351.8 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.287e-06/0.1345, allocations: 0 / 351.8 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.1345, allocations: 15.91 kB / 351.8 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.1346, allocations: 11.94 kB / 351.9 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.715e-05/0.1347, allocations: 23.91 kB / 351.9 MB, free: 2.617 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1347, allocations: 0 / 351.9 MB, free: 2.617 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1347, allocations: 0 / 351.9 MB, free: 2.617 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1347, allocations: 4 kB / 351.9 MB, free: 2.613 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.0004096/0.1351, allocations: 339.7 kB / 352.2 MB, free: 2.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.1352, allocations: 12.02 kB / 352.2 MB, free: 2.219 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.1352, allocations: 38.69 kB / 352.3 MB, free: 2.172 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.1352, allocations: 8.844 kB / 352.3 MB, free: 2.164 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.1354, allocations: 168.4 kB / 352.4 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.1354, allocations: 384 / 352.4 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.1355, allocations: 8.375 kB / 352.4 MB, free: 1.953 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.1358, allocations: 111.8 kB / 352.6 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1358, allocations: 3.938 kB / 352.6 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.1358, allocations: 0 / 352.6 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.1358, allocations: 0 / 352.6 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.618e-05/0.1359, allocations: 23.92 kB / 352.6 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.136, allocations: 161.7 kB / 352.7 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.1362, allocations: 58.47 kB / 352.8 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.965e-05/0.1363, allocations: 20.89 kB / 352.8 MB, free: 1.508 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.1363, allocations: 4.031 kB / 352.8 MB, free: 1.504 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.1363, allocations: 34.56 kB / 352.9 MB, free: 1.461 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.1363, allocations: 4 kB / 352.9 MB, free: 1.457 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002226/0.1366, allocations: 73.55 kB / 352.9 MB, free: 1.379 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.1366, allocations: 51.41 kB / 353 MB, free: 1.316 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.981e-05/0.1367, allocations: 109.8 kB / 353.1 MB, free: 1.199 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.1367, allocations: 29.7 kB / 353.1 MB, free: 1.164 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.1368, allocations: 84.08 kB / 353.2 MB, free: 1.078 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.768e-06/0.1368, allocations: 4 kB / 353.2 MB, free: 1.074 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.1368, allocations: 13.72 kB / 353.2 MB, free: 1.055 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1369, allocations: 322.8 kB / 353.5 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.164e-05/0.1369, allocations: 4 kB / 353.5 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-05/0.137, allocations: 23.44 kB / 353.6 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.25e-05/0.137, allocations: 39.38 kB / 353.6 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.137, allocations: 0 / 353.6 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.892e-05/0.1371, allocations: 57.53 kB / 353.6 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1371, allocations: 7.938 kB / 353.7 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1371, allocations: 4 kB / 353.7 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1372, allocations: 0 / 353.7 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.048e-05/0.1372, allocations: 11.94 kB / 353.7 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/0.1372, allocations: 3.984 kB / 353.7 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.068e-05/0.1373, allocations: 8.062 kB / 353.7 MB, free: 0.543 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.1373, allocations: 7.984 kB / 353.7 MB, free: 0.5352 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 7.274e-05/0.1374, allocations: 109.8 kB / 353.8 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.1375, allocations: 57.62 kB / 353.9 MB, free: 364 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.595e-05/0.1375, allocations: 7.906 kB / 353.9 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1375, allocations: 3.984 kB / 353.9 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1375, allocations: 0 / 353.9 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1375, allocations: 3.938 kB / 353.9 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.599e-05/0.1376, allocations: 157.7 kB / 354 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1376, allocations: 0 / 354 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.1377, allocations: 8 kB / 354 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.1377, allocations: 11.86 kB / 354 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1377, allocations: 0 / 354 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1377, allocations: 4 kB / 354 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1377, allocations: 0 / 354 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.1379, allocations: 89.02 kB / 354.1 MB, free: 0 / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.1379, allocations: 77.53 kB / 354.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.138, allocations: 7.938 kB / 354.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.659e-05/0.138, allocations: 8 kB / 354.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-06/0.138, allocations: 3.938 kB / 354.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.138, allocations: 256 / 354.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.114e-05/0.1381, allocations: 87.27 kB / 354.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1381, allocations: 0 / 354.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001851/0.1383, allocations: 4 kB / 354.3 MB, free: 15.8 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.000493/0.1388, allocations: 0.6318 MB / 355 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.1389, allocations: 23.92 kB / 355 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1389, allocations: 3.938 kB / 355 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.1389, allocations: 0 / 355 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.1391, allocations: 28.27 kB / 355 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009772/0.1401, allocations: 1.15 MB / 356.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.1404, allocations: 0.6846 MB / 356.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.165e-05/0.1404, allocations: 4 kB / 356.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.1405, allocations: 11.44 kB / 356.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1405, allocations: 0 / 356.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.1591, allocations: 1.212 MB / 358.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.932/8.091, allocations: 4.062 kB / 358.1 MB, free: 11.98 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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