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.001027/0.001026, allocations: 110.6 kB / 17.06 MB, free: 5.98 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.001258/0.001258, allocations: 195 kB / 18 MB, free: 5.066 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.556/1.556, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 44.02 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5917/0.5936, allocations: 49.45 MB / 400.2 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.006105/0.5998, allocations: 1.544 MB / 401.8 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.6017, allocations: 473 kB / 402.2 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002208/0.602, allocations: 0 / 402.2 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.6022, allocations: 11.88 kB / 402.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000303/0.6025, allocations: 23.84 kB / 402.3 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006639/0.6032, allocations: 43.83 kB / 402.3 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.6035, allocations: 39.86 kB / 402.3 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.6037, allocations: 15.98 kB / 402.4 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.6039, allocations: 23.86 kB / 402.4 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.604, allocations: 27.86 kB / 402.4 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.651e-05/0.6041, allocations: 4 kB / 402.4 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.357e-05/0.6041, allocations: 4 kB / 402.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.874e-05/0.6042, allocations: 11.98 kB / 402.4 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.335e-05/0.6043, allocations: 27.8 kB / 402.5 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.6046, allocations: 51.75 kB / 402.5 MB, free: 6.629 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.281e-05/0.6046, allocations: 4 kB / 402.5 MB, free: 6.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.6047, allocations: 0 / 402.5 MB, free: 6.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.6047, allocations: 0 / 402.5 MB, free: 6.625 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.001083/0.6058, allocations: 372.9 kB / 402.9 MB, free: 6.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/0.6058, allocations: 12.03 kB / 402.9 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.612e-05/0.6059, allocations: 34.69 kB / 402.9 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.606, allocations: 12.78 kB / 402.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005898/0.6066, allocations: 203.2 kB / 403.1 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.6067, allocations: 8.359 kB / 403.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.6067, allocations: 4.375 kB / 403.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004578/0.6072, allocations: 113.2 kB / 403.3 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.6072, allocations: 0 / 403.3 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.6072, allocations: 0 / 403.3 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.6072, allocations: 0 / 403.3 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.6074, allocations: 19.92 kB / 403.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005822/0.608, allocations: 269.7 kB / 403.5 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.6081, allocations: 41.16 kB / 403.6 MB, free: 5.379 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.6082, allocations: 25.77 kB / 403.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.6083, allocations: 0 / 403.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.527e-05/0.6083, allocations: 34.56 kB / 403.6 MB, free: 5.305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/0.6083, allocations: 0 / 403.6 MB, free: 5.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003981/0.6087, allocations: 69.52 kB / 403.7 MB, free: 5.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.749e-05/0.6089, allocations: 81.11 kB / 403.8 MB, free: 5.133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.6091, allocations: 134.2 kB / 403.9 MB, free: 4.988 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.6091, allocations: 25.7 kB / 403.9 MB, free: 4.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.543e-05/0.6092, allocations: 92.38 kB / 404 MB, free: 4.863 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.6092, allocations: 7.906 kB / 404 MB, free: 4.855 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/0.6093, allocations: 17.72 kB / 404.1 MB, free: 4.832 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.6095, allocations: 318.8 kB / 404.4 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.676e-05/0.6095, allocations: 8 kB / 404.4 MB, free: 4.504 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.6097, allocations: 21.7 kB / 404.4 MB, free: 4.477 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.6098, allocations: 41.64 kB / 404.4 MB, free: 4.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6098, allocations: 0 / 404.4 MB, free: 4.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001676/0.61, allocations: 53.62 kB / 404.5 MB, free: 4.371 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.61, allocations: 4 kB / 404.5 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.6101, allocations: 0 / 404.5 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.6101, allocations: 7.938 kB / 404.5 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.827e-05/0.6102, allocations: 7.984 kB / 404.5 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.6102, allocations: 4.062 kB / 404.5 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.6103, allocations: 3.906 kB / 404.5 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.6103, allocations: 4 kB / 404.5 MB, free: 4.34 MB / 318.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 0.0001251/0.6104, allocations: 117.8 kB / 404.6 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.908e-05/0.6105, allocations: 37.69 kB / 404.7 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.6106, allocations: 7.875 kB / 404.7 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.6106, allocations: 4 kB / 404.7 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.6106, allocations: 7.938 kB / 404.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6106, allocations: 32 / 404.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.6109, allocations: 177.5 kB / 404.9 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.6109, allocations: 0 / 404.9 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.602e-05/0.6109, allocations: 11.98 kB / 404.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.611, allocations: 0 / 404.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.611, allocations: 0 / 404.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.611, allocations: 0 / 404.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.611, allocations: 0 / 404.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.6113, allocations: 164.2 kB / 405 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.592e-05/0.6114, allocations: 89.02 kB / 405.1 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.6114, allocations: 3.984 kB / 405.1 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.894e-05/0.6115, allocations: 4 kB / 405.1 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.6116, allocations: 3.938 kB / 405.1 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.6116, allocations: 4 kB / 405.1 MB, free: 3.613 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.6118, allocations: 109.8 kB / 405.2 MB, free: 3.508 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6118, allocations: 0 / 405.2 MB, free: 3.508 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003688/0.6122, allocations: 8.031 kB / 405.3 MB, free: 3.5 MB / 318.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.0006005/0.6128, allocations: 0.6936 MB / 405.9 MB, free: 2.777 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.613, allocations: 31.95 kB / 406 MB, free: 2.746 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.613, allocations: 4 kB / 406 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.553e-05/0.6131, allocations: 12 kB / 406 MB, free: 2.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/0.6136, allocations: 23.94 kB / 406 MB, free: 2.707 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.6161, allocations: 1.308 MB / 407.3 MB, free: 1.309 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006342/0.6168, allocations: 0.6945 MB / 408 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.595e-05/0.6169, allocations: 7.969 kB / 408 MB, free: 0.582 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.985e-05/0.617, allocations: 15.44 kB / 408 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of SimCode: time 1.112e-06/0.617, allocations: 0 / 408 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.296/6.913, allocations: 1.538 MB / 409.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.43/24.35, allocations: 8.672 kB / 409.6 MB, free: 15.13 MB / 334.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