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.001193/0.001193, allocations: 108.8 kB / 17.06 MB, free: 6.016 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.001193/0.001193, allocations: 187.1 kB / 18 MB, free: 5.102 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.33/1.33, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 51.92 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.342, allocations: 49.45 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.006196/0.3483, allocations: 1.494 MB / 401.7 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.3498, allocations: 431.5 kB / 402.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.3499, allocations: 0 / 402.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.397e-05/0.3501, allocations: 3.938 kB / 402.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.3502, allocations: 7.938 kB / 402.2 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000499/0.3507, allocations: 37.89 kB / 402.2 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.3509, allocations: 39.8 kB / 402.3 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.3511, allocations: 12 kB / 402.3 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.3513, allocations: 23.91 kB / 402.3 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.3514, allocations: 15.92 kB / 402.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.3514, allocations: 0 / 402.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.716e-05/0.3514, allocations: 4 kB / 402.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.855e-05/0.3515, allocations: 4 kB / 402.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.067e-05/0.3516, allocations: 19.88 kB / 402.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.3517, allocations: 39.81 kB / 402.4 MB, free: 6.695 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.3518, allocations: 0 / 402.4 MB, free: 6.695 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.3518, allocations: 3.938 kB / 402.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.3518, allocations: 4 kB / 402.4 MB, free: 6.688 MB / 318.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.0007221/0.3525, allocations: 350.3 kB / 402.7 MB, free: 6.301 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.47e-05/0.3526, allocations: 8.031 kB / 402.7 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.71e-05/0.3527, allocations: 34.75 kB / 402.8 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.3528, allocations: 8.891 kB / 402.8 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.3532, allocations: 184.3 kB / 402.9 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.3532, allocations: 384 / 403 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.3532, allocations: 4.375 kB / 403 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005402/0.3538, allocations: 119.4 kB / 403.1 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.3538, allocations: 0 / 403.1 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.3538, allocations: 0 / 403.1 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3539, allocations: 0 / 403.1 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.354, allocations: 23.97 kB / 403.1 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002249/0.3543, allocations: 157.7 kB / 403.2 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.3545, allocations: 58.55 kB / 403.3 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.544e-05/0.3546, allocations: 24.92 kB / 403.3 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.3547, allocations: 4 kB / 403.3 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.3547, allocations: 42.38 kB / 403.4 MB, free: 5.516 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.3547, allocations: 4 kB / 403.4 MB, free: 5.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003289/0.3551, allocations: 77.62 kB / 403.5 MB, free: 5.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.3551, allocations: 55.58 kB / 403.5 MB, free: 5.363 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.3553, allocations: 109.8 kB / 403.6 MB, free: 5.246 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.3553, allocations: 29.7 kB / 403.6 MB, free: 5.211 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.357e-05/0.3554, allocations: 80.14 kB / 403.7 MB, free: 5.129 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.125e-05/0.3554, allocations: 4 kB / 403.7 MB, free: 5.125 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/0.3554, allocations: 17.72 kB / 403.7 MB, free: 5.102 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3556, allocations: 322.8 kB / 404.1 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.3556, allocations: 3.938 kB / 404.1 MB, free: 4.773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.232e-05/0.3557, allocations: 27.42 kB / 404.1 MB, free: 4.734 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.112e-05/0.3558, allocations: 39.38 kB / 404.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3558, allocations: 3.938 kB / 404.1 MB, free: 4.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001446/0.3559, allocations: 57.56 kB / 404.2 MB, free: 4.617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.356, allocations: 4 kB / 404.2 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.356, allocations: 4 kB / 404.2 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.356, allocations: 0 / 404.2 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.051e-05/0.3561, allocations: 7.984 kB / 404.2 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3561, allocations: 4.125 kB / 404.2 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.669e-05/0.3562, allocations: 8 kB / 404.2 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.3562, allocations: 4 kB / 404.2 MB, free: 4.586 MB / 318.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 0.0001021/0.3563, allocations: 109.8 kB / 404.3 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/0.3565, allocations: 69.56 kB / 404.4 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.417e-05/0.3566, allocations: 11.91 kB / 404.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3566, allocations: 0 / 404.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3566, allocations: 0 / 404.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3566, allocations: 0 / 404.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.3568, allocations: 161.7 kB / 404.6 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3568, allocations: 0 / 404.6 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.189e-05/0.3569, allocations: 15.94 kB / 404.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3569, allocations: 0 / 404.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.3569, allocations: 384 / 404.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.3569, allocations: 3.984 kB / 404.6 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.357, allocations: 4 kB / 404.6 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.3572, allocations: 93 kB / 404.7 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.673e-05/0.3573, allocations: 96.92 kB / 404.8 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.3573, allocations: 0 / 404.8 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.738e-05/0.3574, allocations: 0 / 404.8 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-06/0.3574, allocations: 0 / 404.8 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3574, allocations: 7.984 kB / 404.8 MB, free: 3.914 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.57e-05/0.3575, allocations: 83.28 kB / 404.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3575, allocations: 0 / 404.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003493/0.3578, allocations: 8 kB / 404.9 MB, free: 3.824 MB / 318.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.0006116/0.3585, allocations: 0.6357 MB / 405.5 MB, free: 3.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.3586, allocations: 23.98 kB / 405.5 MB, free: 3.137 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3586, allocations: 3.938 kB / 405.5 MB, free: 3.133 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.81e-07/0.3587, allocations: 0 / 405.5 MB, free: 3.133 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.359, allocations: 32.2 kB / 405.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.3605, allocations: 1.183 MB / 406.7 MB, free: 1.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.3609, allocations: 0.6844 MB / 407.4 MB, free: 1.109 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.117e-05/0.361, allocations: 4 kB / 407.4 MB, free: 1.105 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.071e-05/0.361, allocations: 23.36 kB / 407.5 MB, free: 1.082 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.361, allocations: 0 / 407.5 MB, free: 1.082 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.3841, allocations: 1.328 MB / 408.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.454/7.838, allocations: 8.438 kB / 408.8 MB, free: 15.86 MB / 334.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