Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001354/0.001354, allocations: 118.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 63.89 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3626, allocations: 50.54 MB / 408.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.00356/0.3662, allocations: 1.627 MB / 410.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.3675, allocations: 0.5492 MB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.3676, allocations: 7.938 kB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.3678, allocations: 11.92 kB / 411 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.3679, allocations: 15.88 kB / 411 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.3683, allocations: 67.78 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.3684, allocations: 59.78 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.3685, allocations: 19.98 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.3687, allocations: 43.78 kB / 411.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.545e-05/0.3688, allocations: 27.86 kB / 411.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.3688, allocations: 4 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.316e-05/0.3688, allocations: 4 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.934e-05/0.3689, allocations: 19.92 kB / 411.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.388e-05/0.369, allocations: 35.73 kB / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.3692, allocations: 74.62 kB / 411.3 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.3692, allocations: 3.984 kB / 411.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3692, allocations: 0 / 411.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.3692, allocations: 0 / 411.3 MB, free: 14.99 MB / 334.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.000651/0.3699, allocations: 406.9 kB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.3699, allocations: 12.03 kB / 411.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.37, allocations: 34.75 kB / 411.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002399/0.3702, allocations: 24.88 kB / 411.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.3705, allocations: 216 kB / 412 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.3705, allocations: 4.375 kB / 412 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.3706, allocations: 4.375 kB / 412 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.3709, allocations: 134 kB / 412.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3709, allocations: 0 / 412.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.371, allocations: 0 / 412.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/0.371, allocations: 8 kB / 412.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.3711, allocations: 35.91 kB / 412.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/0.3718, allocations: 381.8 kB / 412.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.3719, allocations: 87.84 kB / 412.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.622e-05/0.372, allocations: 34.56 kB / 412.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.3721, allocations: 3.984 kB / 412.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.3721, allocations: 42.5 kB / 412.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.3721, allocations: 3.938 kB / 412.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004109/0.3725, allocations: 117.5 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.3726, allocations: 102.8 kB / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.3728, allocations: 150.6 kB / 413.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.3729, allocations: 33.64 kB / 413.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/0.373, allocations: 96.12 kB / 413.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.373, allocations: 15.89 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.373, allocations: 13.72 kB / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.3733, allocations: 322.8 kB / 413.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.628e-05/0.3733, allocations: 19.98 kB / 413.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.483e-05/0.3734, allocations: 43.42 kB / 413.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.3736, allocations: 67.33 kB / 413.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3736, allocations: 0 / 413.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002011/0.3738, allocations: 85.56 kB / 413.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3738, allocations: 8 kB / 413.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3739, allocations: 3.984 kB / 413.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3739, allocations: 0 / 413.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.671e-05/0.374, allocations: 8 kB / 413.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.374, allocations: 4 kB / 413.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.581e-05/0.3741, allocations: 11.92 kB / 413.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.3741, allocations: 4.125 kB / 413.8 MB, free: 12.19 MB / 334.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.0001156/0.3742, allocations: 125.8 kB / 413.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.3743, allocations: 53.7 kB / 414 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.891e-05/0.3744, allocations: 23.8 kB / 414 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.3744, allocations: 4 kB / 414 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.3744, allocations: 4 kB / 414 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3744, allocations: 0 / 414 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.3747, allocations: 189.6 kB / 414.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.3747, allocations: 32 / 414.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.263e-05/0.3748, allocations: 15.98 kB / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3748, allocations: 0 / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3748, allocations: 0 / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3748, allocations: 3.938 kB / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3748, allocations: 4 kB / 414.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.3751, allocations: 271.5 kB / 414.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.779e-05/0.3752, allocations: 96.98 kB / 414.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.3752, allocations: 4 kB / 414.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.3754, allocations: 4 kB / 414.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.3754, allocations: 7.984 kB / 414.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.3754, allocations: 0 / 414.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.769e-05/0.3755, allocations: 124.1 kB / 414.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3755, allocations: 0 / 414.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.3758, allocations: 15.94 kB / 414.7 MB, free: 11.15 MB / 334.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.0006412/0.3765, allocations: 0.8062 MB / 415.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.3767, allocations: 51.91 kB / 415.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3767, allocations: 0 / 415.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.782e-05/0.3768, allocations: 19.98 kB / 415.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.3772, allocations: 27.94 kB / 415.6 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.3789, allocations: 1.573 MB / 417.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.3793, allocations: 0.7002 MB / 417.9 MB, free: 7.812 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.31e-05/0.3794, allocations: 7.984 kB / 417.9 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.218e-05/0.3795, allocations: 23.42 kB / 417.9 MB, free: 7.781 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3795, allocations: 0 / 417.9 MB, free: 7.781 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02698/0.4065, allocations: 1.952 MB / 419.9 MB, free: 5.977 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.469/8.876, allocations: 11.92 kB / 419.9 MB, free: 5.965 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches