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.001214/0.001214, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 198 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4792/0.4804, allocations: 50.55 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003407/0.4839, allocations: 1.614 MB / 410.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.4851, allocations: 0.5532 MB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.4852, allocations: 7.938 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.4854, allocations: 3.938 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.4856, allocations: 15.86 kB / 411 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.486, allocations: 63.8 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.4861, allocations: 71.77 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.4863, allocations: 12 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.4864, allocations: 39.78 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.472e-05/0.4865, allocations: 31.84 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.4865, allocations: 4 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.76e-05/0.4866, allocations: 8 kB / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.769e-05/0.4867, allocations: 19.92 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.62e-05/0.4868, allocations: 31.75 kB / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.487, allocations: 78.61 kB / 411.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.657e-06/0.487, allocations: 0 / 411.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.487, allocations: 7.875 kB / 411.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.487, allocations: 0 / 411.3 MB, free: 14.98 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.0006614/0.4877, allocations: 403 kB / 411.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.4877, allocations: 12.03 kB / 411.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.917e-05/0.4878, allocations: 34.73 kB / 411.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002707/0.4881, allocations: 32.88 kB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.4884, allocations: 212 kB / 412 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.4884, allocations: 4.375 kB / 412 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.4885, allocations: 8.359 kB / 412 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.4888, allocations: 134 kB / 412.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4888, allocations: 0 / 412.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.4889, allocations: 3.984 kB / 412.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/0.4889, allocations: 4 kB / 412.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.489, allocations: 35.91 kB / 412.2 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005729/0.4896, allocations: 385.8 kB / 412.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.4898, allocations: 79.77 kB / 412.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.028e-05/0.4899, allocations: 42.62 kB / 412.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.4899, allocations: 4 kB / 412.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.49, allocations: 38.5 kB / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.49, allocations: 0 / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004261/0.4904, allocations: 117.7 kB / 412.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/0.4905, allocations: 110.8 kB / 412.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.4906, allocations: 154.2 kB / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.4907, allocations: 25.7 kB / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.54e-05/0.4908, allocations: 92.14 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.4908, allocations: 3.953 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.4908, allocations: 25.89 kB / 413.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.491, allocations: 326.8 kB / 413.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.399e-05/0.4911, allocations: 23.92 kB / 413.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.907e-05/0.4912, allocations: 39.42 kB / 413.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.4913, allocations: 67.34 kB / 413.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4913, allocations: 0 / 413.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001918/0.4915, allocations: 85.55 kB / 413.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.4916, allocations: 8 kB / 413.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4916, allocations: 4.125 kB / 413.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4916, allocations: 0 / 413.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.4917, allocations: 11.98 kB / 413.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.4917, allocations: 4 kB / 413.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.55e-05/0.4918, allocations: 7.938 kB / 413.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.4918, allocations: 3.984 kB / 413.8 MB, free: 12.18 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.000107/0.4919, allocations: 129.7 kB / 413.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.489e-05/0.492, allocations: 61.58 kB / 414 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.67e-05/0.4921, allocations: 19.86 kB / 414 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.4921, allocations: 7.984 kB / 414 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4921, allocations: 0 / 414 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4921, allocations: 0 / 414 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.4924, allocations: 181.6 kB / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4924, allocations: 0 / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.624e-05/0.4924, allocations: 4 kB / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4924, allocations: 4 kB / 414.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.4925, allocations: 3.984 kB / 414.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4925, allocations: 0 / 414.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.4925, allocations: 11.94 kB / 414.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.4928, allocations: 267.5 kB / 414.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.739e-05/0.4929, allocations: 96.98 kB / 414.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.4929, allocations: 0 / 414.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.493, allocations: 11.98 kB / 414.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.4931, allocations: 11.94 kB / 414.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.4931, allocations: 4 kB / 414.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.422e-05/0.4932, allocations: 116.1 kB / 414.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4932, allocations: 0 / 414.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.4935, allocations: 8 kB / 414.7 MB, free: 11.14 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.0006151/0.4941, allocations: 0.8101 MB / 415.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002318/0.4943, allocations: 51.89 kB / 415.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4943, allocations: 4.25 kB / 415.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.962e-05/0.4944, allocations: 19.98 kB / 415.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.4949, allocations: 32.12 kB / 415.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.4969, allocations: 1.574 MB / 417.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.4973, allocations: 0.7041 MB / 417.9 MB, free: 7.789 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.372e-05/0.4973, allocations: 7.984 kB / 417.9 MB, free: 7.781 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.999e-05/0.4974, allocations: 19.44 kB / 418 MB, free: 7.762 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4974, allocations: 0 / 418 MB, free: 7.762 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.517, allocations: 1.94 MB / 419.9 MB, free: 5.965 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/8.646, allocations: 16.33 kB / 419.9 MB, free: 5.957 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.0.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