Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",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.001215/0.001215, allocations: 114.1 kB / 17.07 MB, free: 5.996 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.001083/0.001083, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.441/1.441, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 51.92 kB / 350.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3639, allocations: 49.43 MB / 400.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003635/0.3676, allocations: 1.578 MB / 401.8 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009839/0.3686, allocations: 477.9 kB / 402.3 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.671e-05/0.3687, allocations: 4 kB / 402.3 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.119e-05/0.3688, allocations: 3.938 kB / 402.3 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.3689, allocations: 11.92 kB / 402.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.3692, allocations: 47.83 kB / 402.4 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.3693, allocations: 39.8 kB / 402.4 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3694, allocations: 19.97 kB / 402.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.808e-05/0.3695, allocations: 19.94 kB / 402.4 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.914e-05/0.3696, allocations: 23.86 kB / 402.5 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.3696, allocations: 4 kB / 402.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.3696, allocations: 0 / 402.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.181e-05/0.3697, allocations: 11.98 kB / 402.5 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.3697, allocations: 23.81 kB / 402.5 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.3699, allocations: 58.69 kB / 402.5 MB, free: 6.484 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3699, allocations: 0 / 402.5 MB, free: 6.484 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3699, allocations: 0 / 402.5 MB, free: 6.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.435e-06/0.3699, allocations: 0 / 402.5 MB, free: 6.484 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004982/0.3704, allocations: 379.1 kB / 402.9 MB, free: 6.066 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3705, allocations: 11.97 kB / 402.9 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.3705, allocations: 38.73 kB / 403 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.3705, allocations: 8.891 kB / 403 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.3708, allocations: 194.9 kB / 403.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.3708, allocations: 8.359 kB / 403.2 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.3708, allocations: 4.375 kB / 403.2 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.3711, allocations: 121.2 kB / 403.3 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3711, allocations: 0 / 403.3 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3712, allocations: 3.938 kB / 403.3 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.3712, allocations: 3.938 kB / 403.3 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.864e-05/0.3713, allocations: 19.98 kB / 403.3 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.3716, allocations: 265.8 kB / 403.6 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.3718, allocations: 142.2 kB / 403.7 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.023e-05/0.3719, allocations: 29.77 kB / 403.8 MB, free: 5.074 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.3719, allocations: 4 kB / 403.8 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.372, allocations: 34.56 kB / 403.8 MB, free: 5.027 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.372, allocations: 0 / 403.8 MB, free: 5.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002671/0.3722, allocations: 85.53 kB / 403.9 MB, free: 4.938 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.3723, allocations: 85.05 kB / 404 MB, free: 4.836 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.3724, allocations: 133.8 kB / 404.1 MB, free: 4.695 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.3725, allocations: 29.83 kB / 404.1 MB, free: 4.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.3725, allocations: 92.12 kB / 404.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.3726, allocations: 3.953 kB / 404.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.3726, allocations: 17.72 kB / 404.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.3727, allocations: 322.8 kB / 404.5 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.173e-05/0.3728, allocations: 8 kB / 404.6 MB, free: 4.207 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.159e-05/0.3728, allocations: 35.42 kB / 404.6 MB, free: 4.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.678e-05/0.3729, allocations: 47.36 kB / 404.6 MB, free: 4.102 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.3729, allocations: 4 kB / 404.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001253/0.3731, allocations: 69.56 kB / 404.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3731, allocations: 8 kB / 404.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3731, allocations: 0 / 404.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3731, allocations: 0 / 404.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.713e-05/0.3732, allocations: 11.94 kB / 404.7 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.3732, allocations: 4 kB / 404.7 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.201e-05/0.3732, allocations: 7.922 kB / 404.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.3733, allocations: 8 kB / 404.7 MB, free: 3.984 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 8.717e-05/0.3733, allocations: 121.9 kB / 404.9 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/0.3734, allocations: 49.64 kB / 404.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.3735, allocations: 8.25 kB / 404.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3735, allocations: 4 kB / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3735, allocations: 0 / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3735, allocations: 0 / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.3737, allocations: 177.6 kB / 405.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3737, allocations: 0 / 405.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.299e-05/0.3737, allocations: 15.88 kB / 405.1 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3737, allocations: 0 / 405.1 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.3738, allocations: 4 kB / 405.1 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3738, allocations: 4 kB / 405.1 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3738, allocations: 4 kB / 405.1 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.374, allocations: 168.3 kB / 405.3 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.313e-05/0.374, allocations: 93.05 kB / 405.4 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.3741, allocations: 3.984 kB / 405.4 MB, free: 3.234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.88e-05/0.3741, allocations: 0 / 405.4 MB, free: 3.234 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.3742, allocations: 11.94 kB / 405.4 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.3742, allocations: 0 / 405.4 MB, free: 3.223 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.057e-05/0.3743, allocations: 109.8 kB / 405.5 MB, free: 3.117 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.904e-06/0.3743, allocations: 0 / 405.5 MB, free: 3.117 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000219/0.3745, allocations: 11.94 kB / 405.5 MB, free: 3.105 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0004665/0.375, allocations: 0.7054 MB / 406.2 MB, free: 2.371 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.3751, allocations: 31.91 kB / 406.2 MB, free: 2.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3751, allocations: 4 kB / 406.3 MB, free: 2.336 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.549e-05/0.3752, allocations: 8 kB / 406.3 MB, free: 2.328 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.3755, allocations: 23.44 kB / 406.3 MB, free: 2.309 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.3768, allocations: 1.366 MB / 407.6 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.3771, allocations: 0.6922 MB / 408.3 MB, free: 124 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.114e-05/0.3771, allocations: 8.234 kB / 408.3 MB, free: 116 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.3772, allocations: 11.44 kB / 408.4 MB, free: 104 kB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3772, allocations: 4 kB / 408.4 MB, free: 100 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/0.3958, allocations: 1.556 MB / 409.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/8.59, allocations: 24.36 kB / 409.9 MB, free: 14.62 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches