Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",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.001542/0.001543, allocations: 109.2 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.001403/0.001403, allocations: 192 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.514/1.514, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 47.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3644, allocations: 49.44 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003554/0.368, allocations: 1.607 MB / 401.9 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.369, allocations: 485.7 kB / 402.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.842e-05/0.3691, allocations: 4 kB / 402.3 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.3693, allocations: 15.86 kB / 402.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.3694, allocations: 7.875 kB / 402.4 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.3697, allocations: 47.88 kB / 402.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.3699, allocations: 59.72 kB / 402.5 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.37, allocations: 20 kB / 402.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.153e-05/0.3701, allocations: 31.84 kB / 402.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.184e-05/0.3702, allocations: 27.84 kB / 402.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.3702, allocations: 4 kB / 402.5 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.095e-05/0.3703, allocations: 4 kB / 402.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.264e-05/0.3703, allocations: 27.86 kB / 402.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.3704, allocations: 27.81 kB / 402.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.3706, allocations: 70.61 kB / 402.7 MB, free: 6.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3706, allocations: 0 / 402.7 MB, free: 6.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3706, allocations: 0 / 402.7 MB, free: 6.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.3706, allocations: 0 / 402.7 MB, free: 6.395 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.0006847/0.3713, allocations: 406.9 kB / 403.1 MB, free: 5.949 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.3714, allocations: 12.03 kB / 403.1 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.616e-05/0.3714, allocations: 30.75 kB / 403.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.3715, allocations: 12.89 kB / 403.1 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.3719, allocations: 204.1 kB / 403.3 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.3719, allocations: 4.375 kB / 403.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.3719, allocations: 4.375 kB / 403.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.3723, allocations: 130 kB / 403.5 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3723, allocations: 0 / 403.5 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.3723, allocations: 3.984 kB / 403.5 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/0.3724, allocations: 11.98 kB / 403.5 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.3725, allocations: 39.97 kB / 403.5 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/0.3731, allocations: 377.8 kB / 403.9 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.3732, allocations: 83.78 kB / 404 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.603e-05/0.3733, allocations: 38.61 kB / 404 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.3734, allocations: 8 kB / 404 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.3734, allocations: 30.56 kB / 404 MB, free: 4.809 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.3734, allocations: 0 / 404 MB, free: 4.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004009/0.3738, allocations: 117.8 kB / 404.2 MB, free: 4.688 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.456e-05/0.3739, allocations: 106.8 kB / 404.3 MB, free: 4.559 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.3741, allocations: 153.9 kB / 404.4 MB, free: 4.402 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.3741, allocations: 25.7 kB / 404.4 MB, free: 4.371 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.729e-05/0.3742, allocations: 100.1 kB / 404.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.3742, allocations: 7.891 kB / 404.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.3743, allocations: 17.72 kB / 404.6 MB, free: 4.238 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3744, allocations: 326.8 kB / 404.9 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.493e-05/0.3745, allocations: 19.98 kB / 404.9 MB, free: 3.891 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.104e-05/0.3746, allocations: 39.42 kB / 404.9 MB, free: 3.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.3748, allocations: 71.34 kB / 405 MB, free: 3.758 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3748, allocations: 0 / 405 MB, free: 3.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002032/0.375, allocations: 93.48 kB / 405.1 MB, free: 3.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.375, allocations: 4 kB / 405.1 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.375, allocations: 0 / 405.1 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.375, allocations: 7.938 kB / 405.1 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.3752, allocations: 16.11 kB / 405.1 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.3752, allocations: 0 / 405.1 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.103e-05/0.3752, allocations: 11.92 kB / 405.1 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.3753, allocations: 4 kB / 405.1 MB, free: 3.617 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.0001401/0.3754, allocations: 117.8 kB / 405.3 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.3755, allocations: 57.58 kB / 405.3 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.091e-05/0.3756, allocations: 15.86 kB / 405.3 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.3756, allocations: 4 kB / 405.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3756, allocations: 4.031 kB / 405.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3756, allocations: 0 / 405.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.3759, allocations: 181.6 kB / 405.5 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.3759, allocations: 0 / 405.5 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.18e-05/0.376, allocations: 11.98 kB / 405.5 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.376, allocations: 0 / 405.5 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.376, allocations: 0 / 405.5 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.376, allocations: 4 kB / 405.5 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.376, allocations: 0 / 405.5 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/0.3763, allocations: 283.4 kB / 405.8 MB, free: 2.863 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.03e-05/0.3764, allocations: 93.05 kB / 405.9 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.3764, allocations: 0 / 405.9 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.3766, allocations: 7.984 kB / 405.9 MB, free: 2.746 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.3766, allocations: 8 kB / 405.9 MB, free: 2.738 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.3766, allocations: 4 kB / 405.9 MB, free: 2.734 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.3767, allocations: 118.1 kB / 406 MB, free: 2.621 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.044e-06/0.3768, allocations: 0 / 406 MB, free: 2.621 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.377, allocations: 11.94 kB / 406 MB, free: 2.609 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0006754/0.3777, allocations: 0.8145 MB / 406.9 MB, free: 1.766 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.3779, allocations: 47.89 kB / 406.9 MB, free: 1.719 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.378, allocations: 4 kB / 406.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.291e-05/0.378, allocations: 16.3 kB / 406.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.3785, allocations: 32.2 kB / 407 MB, free: 1.668 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.3804, allocations: 1.57 MB / 408.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.3808, allocations: 0.7039 MB / 409.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.265e-05/0.3809, allocations: 15.92 kB / 409.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/0.3809, allocations: 19.44 kB / 409.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3809, allocations: 0 / 409.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.4076, allocations: 1.878 MB / 411.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.409/8.817, allocations: 22.17 kB / 411.2 MB, free: 13.47 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_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_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches