Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002021/0.002021, allocations: 120.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002367/0.002367, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.623/1.623, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 47.92 kB / 373 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1145, allocations: 53.32 MB / 426.3 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003368/0.1179, allocations: 1.572 MB / 427.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.119, allocations: 0.5454 MB / 428.4 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.446e-05/0.1191, allocations: 0 / 428.4 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.425e-05/0.1192, allocations: 7.922 kB / 428.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.1193, allocations: 11.88 kB / 428.4 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.1196, allocations: 59.81 kB / 428.5 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.1198, allocations: 43.8 kB / 428.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1199, allocations: 20.11 kB / 428.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.12, allocations: 27.91 kB / 428.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.535e-05/0.1201, allocations: 23.86 kB / 428.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1201, allocations: 4 kB / 428.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.122e-05/0.1201, allocations: 8 kB / 428.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.198e-05/0.1202, allocations: 11.94 kB / 428.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.1202, allocations: 31.78 kB / 428.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.1204, allocations: 67.61 kB / 428.7 MB, free: 2.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.1204, allocations: 4 kB / 428.7 MB, free: 2.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1204, allocations: 0 / 428.7 MB, free: 2.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1204, allocations: 0 / 428.7 MB, free: 2.477 MB / 350.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.0005699/0.121, allocations: 375.1 kB / 429.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.121, allocations: 12.03 kB / 429.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.1211, allocations: 34.75 kB / 429.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.1212, allocations: 16.88 kB / 429.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.1215, allocations: 204.2 kB / 429.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.1215, allocations: 384 / 429.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.1215, allocations: 8.375 kB / 429.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.1218, allocations: 105 kB / 429.5 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1218, allocations: 3.938 kB / 429.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.046e-06/0.1218, allocations: 0 / 429.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.1218, allocations: 0 / 429.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.138e-05/0.1219, allocations: 19.98 kB / 429.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.1223, allocations: 265.8 kB / 429.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.065e-05/0.1224, allocations: 45.14 kB / 429.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.1224, allocations: 17.78 kB / 429.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.1224, allocations: 3.984 kB / 429.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.1225, allocations: 42.48 kB / 429.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1225, allocations: 4 kB / 429.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002425/0.1227, allocations: 65.58 kB / 429.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.1228, allocations: 85.03 kB / 430 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.1229, allocations: 139.5 kB / 430.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.1229, allocations: 25.7 kB / 430.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.123, allocations: 96.38 kB / 430.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.123, allocations: 7.953 kB / 430.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.123, allocations: 13.72 kB / 430.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1232, allocations: 318.8 kB / 430.6 MB, free: 360 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.18e-05/0.1232, allocations: 7.984 kB / 430.6 MB, free: 352 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-05/0.1233, allocations: 17.72 kB / 430.6 MB, free: 328 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.009e-05/0.1233, allocations: 29.77 kB / 430.7 MB, free: 292 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1234, allocations: 4 kB / 430.7 MB, free: 288 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001274/0.1235, allocations: 61.56 kB / 430.7 MB, free: 220 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1235, allocations: 7.938 kB / 430.7 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1235, allocations: 0 / 430.7 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.1235, allocations: 4 kB / 430.7 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.789e-05/0.1236, allocations: 8 kB / 430.7 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1236, allocations: 4.062 kB / 430.7 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.576e-05/0.1236, allocations: 3.984 kB / 430.7 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.1236, allocations: 4 kB / 430.7 MB, free: 188 kB / 350.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.277e-05/0.1237, allocations: 121.7 kB / 430.9 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.134e-05/0.1238, allocations: 37.66 kB / 430.9 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.122e-05/0.1238, allocations: 11.92 kB / 430.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1238, allocations: 0 / 430.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1239, allocations: 4 kB / 430.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.1239, allocations: 4.031 kB / 430.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.124, allocations: 169.5 kB / 431.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.124, allocations: 0 / 431.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.1241, allocations: 8 kB / 431.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1241, allocations: 3.984 kB / 431.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.1241, allocations: 0 / 431.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1241, allocations: 0 / 431.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1241, allocations: 0 / 431.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.1243, allocations: 168.2 kB / 431.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-05/0.1244, allocations: 96.97 kB / 431.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.1244, allocations: 0 / 431.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.1245, allocations: 11.98 kB / 431.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.1245, allocations: 0 / 431.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.1245, allocations: 4 kB / 431.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.292e-05/0.1246, allocations: 109.1 kB / 431.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1246, allocations: 0 / 431.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000215/0.1248, allocations: 8.031 kB / 431.5 MB, free: 15.33 MB / 366.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.0005808/0.1254, allocations: 0.6969 MB / 432.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.1256, allocations: 24.02 kB / 432.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1256, allocations: 0 / 432.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.85e-05/0.1256, allocations: 8 kB / 432.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.126, allocations: 26.08 kB / 432.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.1275, allocations: 1.328 MB / 433.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.1278, allocations: 0.6919 MB / 434.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.373e-05/0.1279, allocations: 4 kB / 434.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/0.1279, allocations: 11.44 kB / 434.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1279, allocations: 0 / 434.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.1533, allocations: 1.564 MB / 435.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.354/8.508, allocations: 8.047 kB / 435.8 MB, free: 10.95 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.632452234989614]