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.001895/0.001895, allocations: 103.1 kB / 17.06 MB, free: 6.129 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.002307/0.002307, allocations: 195 kB / 18 MB, free: 5.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.316/2.316, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 51.92 kB / 350.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4737/0.4751, allocations: 49.44 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003406/0.4786, allocations: 1.602 MB / 401.8 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000941/0.4796, allocations: 488.7 kB / 402.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.72e-05/0.4797, allocations: 4 kB / 402.3 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.4798, allocations: 11.92 kB / 402.3 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.4799, allocations: 11.88 kB / 402.4 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.4802, allocations: 51.81 kB / 402.4 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.4804, allocations: 63.7 kB / 402.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.4805, allocations: 16 kB / 402.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.036e-05/0.4806, allocations: 31.86 kB / 402.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.906e-05/0.4807, allocations: 27.84 kB / 402.5 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.4807, allocations: 0 / 402.5 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.4807, allocations: 4 kB / 402.5 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.954e-05/0.4808, allocations: 23.91 kB / 402.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.938e-05/0.4808, allocations: 31.81 kB / 402.6 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.481, allocations: 67.72 kB / 402.7 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.481, allocations: 0 / 402.7 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.481, allocations: 0 / 402.7 MB, free: 6.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.481, allocations: 4 kB / 402.7 MB, free: 6.367 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.000595/0.4816, allocations: 400.6 kB / 403.1 MB, free: 5.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4816, allocations: 8.031 kB / 403.1 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.984e-05/0.4817, allocations: 30.75 kB / 403.1 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.4817, allocations: 12.84 kB / 403.1 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.482, allocations: 200.1 kB / 403.3 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.482, allocations: 384 / 403.3 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.482, allocations: 8.375 kB / 403.3 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.4824, allocations: 134 kB / 403.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4824, allocations: 4 kB / 403.4 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.4824, allocations: 3.938 kB / 403.4 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/0.4825, allocations: 3.984 kB / 403.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.4826, allocations: 43.91 kB / 403.5 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.4831, allocations: 381.8 kB / 403.9 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.4833, allocations: 79.78 kB / 403.9 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.4835, allocations: 46.55 kB / 404 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.4835, allocations: 4 kB / 404 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.4836, allocations: 30.56 kB / 404 MB, free: 4.789 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 2.354e-06/0.4836, allocations: 0 / 404 MB, free: 4.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005447/0.4841, allocations: 113.8 kB / 404.1 MB, free: 4.672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.172e-05/0.4842, allocations: 110.8 kB / 404.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.4845, allocations: 151.9 kB / 404.4 MB, free: 4.383 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.4845, allocations: 25.7 kB / 404.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.836e-05/0.4846, allocations: 96.12 kB / 404.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.4846, allocations: 7.844 kB / 404.5 MB, free: 4.246 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.846e-05/0.4847, allocations: 21.72 kB / 404.5 MB, free: 4.219 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.4849, allocations: 322.8 kB / 404.9 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.447e-05/0.485, allocations: 23.98 kB / 404.9 MB, free: 3.871 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.4851, allocations: 39.42 kB / 404.9 MB, free: 3.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.4853, allocations: 71.34 kB / 405 MB, free: 3.738 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4854, allocations: 0 / 405 MB, free: 3.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002619/0.4856, allocations: 85.5 kB / 405.1 MB, free: 3.648 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.4857, allocations: 8 kB / 405.1 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4857, allocations: 0 / 405.1 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.4857, allocations: 0 / 405.1 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.4858, allocations: 20.05 kB / 405.1 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.4859, allocations: 4 kB / 405.1 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.967e-05/0.486, allocations: 11.92 kB / 405.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.486, allocations: 0 / 405.1 MB, free: 3.605 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.0001633/0.4862, allocations: 121.8 kB / 405.2 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.4863, allocations: 57.58 kB / 405.3 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.4864, allocations: 15.86 kB / 405.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.4864, allocations: 0 / 405.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.4864, allocations: 8.031 kB / 405.3 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4864, allocations: 0 / 405.3 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/0.4868, allocations: 181.5 kB / 405.5 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.4868, allocations: 4 kB / 405.5 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-05/0.4869, allocations: 11.92 kB / 405.5 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.4869, allocations: 0 / 405.5 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.4869, allocations: 4 kB / 405.5 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4869, allocations: 0 / 405.5 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4869, allocations: 0 / 405.5 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.4873, allocations: 275.4 kB / 405.8 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-05/0.4874, allocations: 93 kB / 405.9 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.4874, allocations: 7.984 kB / 405.9 MB, free: 2.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.4875, allocations: 4 kB / 405.9 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.4876, allocations: 3.938 kB / 405.9 MB, free: 2.727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.4876, allocations: 4 kB / 405.9 MB, free: 2.723 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.812e-05/0.4877, allocations: 122.1 kB / 406 MB, free: 2.605 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.024e-06/0.4877, allocations: 0 / 406 MB, free: 2.605 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000279/0.488, allocations: 11.94 kB / 406 MB, free: 2.594 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.0006957/0.4887, allocations: 0.8107 MB / 406.8 MB, free: 1.754 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.4889, allocations: 51.89 kB / 406.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4889, allocations: 0 / 406.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.259e-05/0.489, allocations: 24.23 kB / 406.9 MB, free: 1.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.4895, allocations: 44 kB / 406.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.4921, allocations: 1.566 MB / 408.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004995/0.4926, allocations: 0.7077 MB / 409.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.4927, allocations: 11.98 kB / 409.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.447e-05/0.4928, allocations: 19.44 kB / 409.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of SimCode: time 6.52e-07/0.4928, allocations: 0 / 409.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.5241, allocations: 1.893 MB / 411.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.83, allocations: 12.89 kB / 411.2 MB, free: 13.43 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 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.mat","/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