Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",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.001617/0.001617, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.002599/0.002599, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.487/1.487, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 47.7 kB / 300.7 MB, free: 5.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1385, allocations: 49.44 MB / 350.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003079/0.1417, allocations: 1.483 MB / 351.7 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008438/0.1425, allocations: 432.4 kB / 352.1 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.26e-05/0.1427, allocations: 4 kB / 352.1 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.113e-05/0.1427, allocations: 7.938 kB / 352.1 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.474e-05/0.1428, allocations: 7.938 kB / 352.1 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.1431, allocations: 30.52 kB / 352.1 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.1433, allocations: 43.8 kB / 352.2 MB, free: 2.301 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1434, allocations: 8 kB / 352.2 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.738e-05/0.1435, allocations: 19.91 kB / 352.2 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.202e-05/0.1436, allocations: 11.94 kB / 352.2 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1436, allocations: 4 kB / 352.2 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.1436, allocations: 4 kB / 352.2 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.263e-05/0.1436, allocations: 11.98 kB / 352.2 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.402e-05/0.1437, allocations: 15.88 kB / 352.2 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.1438, allocations: 39.88 kB / 352.3 MB, free: 2.188 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1438, allocations: 0 / 352.3 MB, free: 2.188 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1438, allocations: 0 / 352.3 MB, free: 2.188 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1438, allocations: 0 / 352.3 MB, free: 2.188 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.0005018/0.1443, allocations: 351.6 kB / 352.6 MB, free: 1.797 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.1444, allocations: 15.97 kB / 352.6 MB, free: 1.781 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.758e-05/0.1444, allocations: 30.75 kB / 352.7 MB, free: 1.742 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.1445, allocations: 8.844 kB / 352.7 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.1448, allocations: 188.2 kB / 352.9 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.1448, allocations: 384 / 352.9 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.1448, allocations: 4.375 kB / 352.9 MB, free: 1.508 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.1452, allocations: 115.3 kB / 353 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1452, allocations: 4 kB / 353 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.1452, allocations: 0 / 353 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1452, allocations: 0 / 353 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.671e-05/0.1453, allocations: 23.92 kB / 353 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.1455, allocations: 165.7 kB / 353.2 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.1456, allocations: 54.58 kB / 353.2 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.015e-05/0.1457, allocations: 24.89 kB / 353.2 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.1458, allocations: 4 kB / 353.2 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.1458, allocations: 38.5 kB / 353.3 MB, free: 1.004 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.1458, allocations: 0 / 353.3 MB, free: 1.004 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002526/0.1461, allocations: 77.61 kB / 353.4 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.1462, allocations: 51.41 kB / 353.4 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.874e-05/0.1463, allocations: 113.8 kB / 353.5 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.1463, allocations: 29.7 kB / 353.6 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.1463, allocations: 84.12 kB / 353.6 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.182e-05/0.1464, allocations: 8 kB / 353.6 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.1464, allocations: 9.719 kB / 353.7 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1465, allocations: 318.8 kB / 354 MB, free: 280 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.587e-05/0.1466, allocations: 3.984 kB / 354 MB, free: 276 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.051e-05/0.1466, allocations: 31.61 kB / 354 MB, free: 232 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.435e-05/0.1466, allocations: 35.38 kB / 354 MB, free: 184 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1466, allocations: 0 / 354 MB, free: 184 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.705e-05/0.1467, allocations: 69.41 kB / 354.1 MB, free: 108 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1468, allocations: 8.125 kB / 354.1 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1468, allocations: 4.375 kB / 354.1 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1468, allocations: 0 / 354.1 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/0.1469, allocations: 8 kB / 354.1 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.1469, allocations: 3.984 kB / 354.1 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.21e-05/0.1469, allocations: 7.875 kB / 354.1 MB, free: 76 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.1469, allocations: 4 kB / 354.1 MB, free: 72 kB / 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 8.988e-05/0.147, allocations: 109.8 kB / 354.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.1472, allocations: 69.56 kB / 354.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/0.1472, allocations: 15.89 kB / 354.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1472, allocations: 0 / 354.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1472, allocations: 0 / 354.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1472, allocations: 0 / 354.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.1474, allocations: 157.6 kB / 354.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1474, allocations: 0 / 354.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.898e-05/0.1475, allocations: 15.92 kB / 354.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1475, allocations: 0 / 354.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.1475, allocations: 0 / 354.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.1475, allocations: 4 kB / 354.5 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1475, allocations: 4 kB / 354.5 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.1477, allocations: 89.05 kB / 354.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.616e-05/0.1477, allocations: 92.94 kB / 354.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.1478, allocations: 0 / 354.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.294e-05/0.1478, allocations: 0 / 354.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-06/0.1478, allocations: 0 / 354.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.1478, allocations: 4 kB / 354.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.077e-05/0.1479, allocations: 95.27 kB / 354.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1479, allocations: 0 / 354.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002046/0.1481, allocations: 4 kB / 354.8 MB, free: 15.31 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.000492/0.1486, allocations: 0.624 MB / 355.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.1488, allocations: 31.92 kB / 355.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1488, allocations: 0 / 355.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/0.1488, allocations: 4 kB / 355.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.1491, allocations: 27.95 kB / 355.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.1502, allocations: 1.194 MB / 356.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.1505, allocations: 0.6807 MB / 357.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.484e-05/0.1505, allocations: 11.92 kB / 357.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.1505, allocations: 11.44 kB / 357.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1505, allocations: 0 / 357.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.1703, allocations: 1.306 MB / 358.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.044, allocations: 15.69 kB / 358.7 MB, free: 11.35 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_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_TimeBasedSine.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches