Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_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.001411/0.001412, allocations: 115 kB / 16.63 MB, free: 6.812 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.001627/0.001627, allocations: 186 kB / 17.55 MB, free: 5.934 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.393/1.393, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 48.33 kB / 300.2 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09603/0.0971, allocations: 49.44 MB / 349.7 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.0027/0.09985, allocations: 1.589 MB / 351.3 MB, free: 3.059 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007511/0.1006, allocations: 482.8 kB / 351.7 MB, free: 2.582 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.94e-05/0.1007, allocations: 0 / 351.7 MB, free: 2.582 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.439e-05/0.1008, allocations: 3.938 kB / 351.8 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.1009, allocations: 11.92 kB / 351.8 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.1012, allocations: 39.91 kB / 351.8 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.637e-05/0.1013, allocations: 43.8 kB / 351.8 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1014, allocations: 23.97 kB / 351.9 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.979e-05/0.1015, allocations: 19.92 kB / 351.9 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.884e-05/0.1015, allocations: 23.86 kB / 351.9 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.1016, allocations: 4 kB / 351.9 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.1016, allocations: 0 / 351.9 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.1016, allocations: 11.94 kB / 351.9 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.62e-05/0.1017, allocations: 35.78 kB / 352 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.887e-05/0.1018, allocations: 43.83 kB / 352 MB, free: 2.324 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1018, allocations: 0 / 352 MB, free: 2.324 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1018, allocations: 4 kB / 352 MB, free: 2.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.1018, allocations: 0 / 352 MB, free: 2.32 MB / 286.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.0005677/0.1024, allocations: 379.3 kB / 352.4 MB, free: 1.902 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1024, allocations: 8.031 kB / 352.4 MB, free: 1.895 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.666e-05/0.1025, allocations: 34.75 kB / 352.4 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.1025, allocations: 16.78 kB / 352.4 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.1028, allocations: 203 kB / 352.6 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1028, allocations: 4.375 kB / 352.6 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.1028, allocations: 4.375 kB / 352.6 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.1031, allocations: 109.2 kB / 352.8 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.1031, allocations: 0 / 352.8 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.1031, allocations: 0 / 352.8 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1031, allocations: 0 / 352.8 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.581e-05/0.1032, allocations: 23.92 kB / 352.8 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.1035, allocations: 265.7 kB / 353 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.675e-05/0.1036, allocations: 49.14 kB / 353.1 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.695e-05/0.1037, allocations: 17.77 kB / 353.1 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.1037, allocations: 4 kB / 353.1 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.1038, allocations: 34.56 kB / 353.1 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1038, allocations: 0 / 353.1 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002339/0.104, allocations: 69.52 kB / 353.2 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.1041, allocations: 81.11 kB / 353.3 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1042, allocations: 138.4 kB / 353.4 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1042, allocations: 25.7 kB / 353.4 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.1043, allocations: 92.06 kB / 353.5 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.1043, allocations: 8 kB / 353.5 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.1043, allocations: 13.72 kB / 353.6 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1045, allocations: 318.8 kB / 353.9 MB, free: 212 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.986e-05/0.1045, allocations: 7.984 kB / 353.9 MB, free: 204 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.604e-05/0.1046, allocations: 21.72 kB / 353.9 MB, free: 176 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.457e-05/0.1046, allocations: 29.64 kB / 353.9 MB, free: 140 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1047, allocations: 0 / 353.9 MB, free: 140 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001122/0.1048, allocations: 65.52 kB / 354 MB, free: 68 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1048, allocations: 4 kB / 354 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1048, allocations: 4.125 kB / 354 MB, free: 60 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1048, allocations: 0 / 354 MB, free: 60 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.174e-05/0.1049, allocations: 4 kB / 354 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1049, allocations: 4 kB / 354 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.183e-05/0.105, allocations: 3.984 kB / 354 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.105, allocations: 0 / 354 MB, free: 48 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 9.747e-05/0.1051, allocations: 121.7 kB / 354.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.1051, allocations: 45.59 kB / 354.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.1052, allocations: 15.89 kB / 354.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1052, allocations: 0 / 354.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.1052, allocations: 0 / 354.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.1052, allocations: 7.938 kB / 354.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.1054, allocations: 169.6 kB / 354.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1054, allocations: 0 / 354.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.219e-05/0.1055, allocations: 7.938 kB / 354.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1055, allocations: 3.984 kB / 354.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1055, allocations: 8 kB / 354.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1055, allocations: 0 / 354.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1055, allocations: 0 / 354.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.1057, allocations: 164.2 kB / 354.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.449e-05/0.1058, allocations: 89 kB / 354.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.1058, allocations: 0 / 354.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.658e-05/0.1059, allocations: 7.984 kB / 354.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.1059, allocations: 4 kB / 354.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1059, allocations: 7.969 kB / 354.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.796e-05/0.106, allocations: 110 kB / 354.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.106, allocations: 0 / 354.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002146/0.1062, allocations: 8 kB / 354.8 MB, free: 15.19 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004632/0.1067, allocations: 0.6859 MB / 355.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.1069, allocations: 31.91 kB / 355.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1069, allocations: 0 / 355.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.366e-05/0.1069, allocations: 4 kB / 355.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.1073, allocations: 18.83 kB / 355.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.1087, allocations: 1.335 MB / 356.8 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.109, allocations: 0.6924 MB / 357.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.104e-05/0.109, allocations: 4 kB / 357.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/0.1091, allocations: 15.42 kB / 357.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1091, allocations: 3.938 kB / 357.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.1289, allocations: 1.403 MB / 359 MB, free: 10.98 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/0.1291, allocations: 218.7 kB / 359.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/1.943, allocations: 0 / 359.2 MB, free: 10.73 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches