Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",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.001872/0.001872, allocations: 104.7 kB / 17.06 MB, free: 6.027 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.002541/0.002541, allocations: 196 kB / 18 MB, free: 5.105 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.14/2.14, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 43.92 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4764/0.4779, allocations: 49.44 MB / 400.2 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.005845/0.4838, allocations: 1.58 MB / 401.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.4852, allocations: 477 kB / 402.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.4854, allocations: 7.938 kB / 402.3 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.119e-05/0.4856, allocations: 7.938 kB / 402.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.4859, allocations: 7.875 kB / 402.3 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.4864, allocations: 51.83 kB / 402.4 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.4866, allocations: 43.84 kB / 402.4 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.4868, allocations: 20.16 kB / 402.4 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.487, allocations: 15.94 kB / 402.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.4871, allocations: 19.86 kB / 402.5 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.4871, allocations: 8 kB / 402.5 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.375e-05/0.4872, allocations: 4 kB / 402.5 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.165e-05/0.4873, allocations: 15.92 kB / 402.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.768e-05/0.4874, allocations: 35.73 kB / 402.5 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.4877, allocations: 51.75 kB / 402.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/0.4877, allocations: 3.938 kB / 402.6 MB, free: 6.484 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.4877, allocations: 0 / 402.6 MB, free: 6.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.4877, allocations: 0 / 402.6 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001031/0.4888, allocations: 376.9 kB / 402.9 MB, free: 6.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.803e-05/0.4889, allocations: 15.89 kB / 403 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.493e-05/0.489, allocations: 42.73 kB / 403 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.663e-05/0.489, allocations: 12.83 kB / 403 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005573/0.4896, allocations: 196.1 kB / 403.2 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.4896, allocations: 384 / 403.2 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.4897, allocations: 12.25 kB / 403.2 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005094/0.4902, allocations: 121.8 kB / 403.3 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.4902, allocations: 0 / 403.3 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.4903, allocations: 0 / 403.3 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.4903, allocations: 0 / 403.3 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.4904, allocations: 19.98 kB / 403.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006938/0.4911, allocations: 282.4 kB / 403.6 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.4914, allocations: 67.8 kB / 403.7 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.4915, allocations: 38.62 kB / 403.7 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.073e-05/0.4916, allocations: 0 / 403.7 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/0.4916, allocations: 34.56 kB / 403.8 MB, free: 5.074 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.4916, allocations: 0 / 403.8 MB, free: 5.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005018/0.4921, allocations: 85.78 kB / 403.8 MB, free: 4.984 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.4923, allocations: 114.8 kB / 404 MB, free: 4.848 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.4926, allocations: 144.7 kB / 404.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.4927, allocations: 25.7 kB / 404.1 MB, free: 4.668 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.4928, allocations: 92.12 kB / 404.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.4928, allocations: 3.984 kB / 404.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.501e-05/0.4929, allocations: 17.72 kB / 404.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002484/0.4932, allocations: 322.8 kB / 404.6 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.631e-05/0.4933, allocations: 12 kB / 404.6 MB, free: 4.211 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.472e-05/0.4934, allocations: 31.42 kB / 404.6 MB, free: 4.168 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.4936, allocations: 55.36 kB / 404.6 MB, free: 4.102 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4936, allocations: 0 / 404.6 MB, free: 4.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002588/0.4939, allocations: 73.45 kB / 404.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/0.4939, allocations: 4 kB / 404.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.494, allocations: 0 / 404.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/0.494, allocations: 4 kB / 404.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.4942, allocations: 8 kB / 404.7 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.4942, allocations: 128 / 404.7 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.508e-05/0.4943, allocations: 15.92 kB / 404.8 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.4943, allocations: 0 / 404.8 MB, free: 3.992 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.000338/0.4947, allocations: 117.8 kB / 404.9 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.4948, allocations: 61.47 kB / 404.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.991e-05/0.4949, allocations: 11.88 kB / 404.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.495, allocations: 0 / 404.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.495, allocations: 7.938 kB / 404.9 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.495, allocations: 4 kB / 405 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/0.4953, allocations: 177.6 kB / 405.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4954, allocations: 0 / 405.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.362e-05/0.4955, allocations: 8 kB / 405.1 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.4955, allocations: 4 kB / 405.1 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.4955, allocations: 3.984 kB / 405.1 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.4955, allocations: 3.938 kB / 405.1 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4955, allocations: 0 / 405.1 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.4959, allocations: 185.1 kB / 405.3 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.496, allocations: 93 kB / 405.4 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.496, allocations: 144 / 405.4 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.4962, allocations: 8 kB / 405.4 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.4962, allocations: 3.984 kB / 405.4 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.4963, allocations: 4 kB / 405.4 MB, free: 3.203 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.4964, allocations: 107.2 kB / 405.5 MB, free: 3.098 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.4964, allocations: 4 kB / 405.5 MB, free: 3.094 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004638/0.4969, allocations: 8 kB / 405.5 MB, free: 3.086 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 (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.0009041/0.4978, allocations: 0.7217 MB / 406.3 MB, free: 2.332 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.4981, allocations: 31.92 kB / 406.3 MB, free: 2.301 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4981, allocations: 0 / 406.3 MB, free: 2.301 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.157e-05/0.4982, allocations: 4 kB / 406.3 MB, free: 2.297 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006252/0.4988, allocations: 35.95 kB / 406.3 MB, free: 2.262 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/0.5016, allocations: 1.387 MB / 407.7 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006161/0.5023, allocations: 0.6987 MB / 408.4 MB, free: 44 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.333e-05/0.5024, allocations: 4 kB / 408.4 MB, free: 40 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.355e-05/0.5025, allocations: 15.44 kB / 408.4 MB, free: 24 kB / 318.1 MB Notification: Performance of SimCode: time 2.004e-06/0.5025, allocations: 0 / 408.4 MB, free: 24 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03327/0.5358, allocations: 1.69 MB / 410.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.01, allocations: 7.281 kB / 410.1 MB, free: 14.44 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches