Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",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.001269/0.001269, allocations: 101.1 kB / 16.5 MB, free: 6.207 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.001404/0.001404, allocations: 198.2 kB / 17.43 MB, free: 5.844 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.422/1.422, allocations: 222.9 MB / 241.1 MB, free: 13.7 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 47.33 kB / 300.1 MB, free: 5.953 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1097, allocations: 49.45 MB / 349.5 MB, free: 4.492 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003124/0.1128, allocations: 1.6 MB / 351.1 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009625/0.1138, allocations: 0.4948 MB / 351.6 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.114, allocations: 0 / 351.6 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.1e-05/0.1141, allocations: 3.938 kB / 351.6 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.1143, allocations: 15.86 kB / 351.6 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.1146, allocations: 39.91 kB / 351.7 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.1147, allocations: 39.86 kB / 351.7 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1149, allocations: 23.92 kB / 351.7 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.838e-05/0.115, allocations: 19.92 kB / 351.7 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.1151, allocations: 19.88 kB / 351.8 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1151, allocations: 0 / 351.8 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.566e-05/0.1151, allocations: 4 kB / 351.8 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.093e-05/0.1152, allocations: 19.91 kB / 351.8 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.1152, allocations: 23.8 kB / 351.8 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.1153, allocations: 43.83 kB / 351.9 MB, free: 2.125 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1153, allocations: 0 / 351.9 MB, free: 2.125 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1153, allocations: 8 kB / 351.9 MB, free: 2.117 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.1154, allocations: 0 / 351.9 MB, free: 2.117 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.0005638/0.1159, allocations: 387.3 kB / 352.2 MB, free: 1.691 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.116, allocations: 8.031 kB / 352.3 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.526e-05/0.116, allocations: 34.75 kB / 352.3 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.1161, allocations: 8.844 kB / 352.3 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.1163, allocations: 192.2 kB / 352.5 MB, free: 1.406 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1163, allocations: 4.375 kB / 352.5 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.1164, allocations: 384 / 352.5 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.1167, allocations: 113.2 kB / 352.6 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1167, allocations: 0 / 352.6 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.1167, allocations: 4 kB / 352.6 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1167, allocations: 0 / 352.6 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.114e-05/0.1168, allocations: 23.86 kB / 352.6 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.1172, allocations: 261.7 kB / 352.9 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.186e-05/0.1173, allocations: 49.14 kB / 352.9 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/0.1173, allocations: 17.78 kB / 352.9 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.1173, allocations: 11.98 kB / 353 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.1174, allocations: 30.56 kB / 353 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1174, allocations: 0 / 353 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002466/0.1176, allocations: 65.53 kB / 353 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.1177, allocations: 85.09 kB / 353.1 MB, free: 0.625 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.1178, allocations: 138.4 kB / 353.3 MB, free: 492 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1178, allocations: 25.7 kB / 353.3 MB, free: 460 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.1179, allocations: 92.08 kB / 353.4 MB, free: 364 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.1179, allocations: 3.984 kB / 353.4 MB, free: 360 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.118, allocations: 17.72 kB / 353.4 MB, free: 336 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1181, allocations: 314.8 kB / 353.7 MB, free: 12 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.376e-05/0.1181, allocations: 7.984 kB / 353.7 MB, free: 4 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.028e-05/0.1182, allocations: 29.7 kB / 353.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.85e-05/0.1183, allocations: 33.59 kB / 353.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1183, allocations: 0 / 353.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001215/0.1184, allocations: 61.52 kB / 353.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1185, allocations: 4 kB / 353.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1185, allocations: 4.125 kB / 353.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1185, allocations: 0 / 353.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.379e-05/0.1186, allocations: 8 kB / 353.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1186, allocations: 0 / 353.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.57e-05/0.1186, allocations: 0 / 353.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.1186, allocations: 7.984 kB / 353.9 MB, free: 15.84 MB / 302.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 8.445e-05/0.1187, allocations: 117.8 kB / 354 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.1188, allocations: 33.61 kB / 354 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/0.1188, allocations: 15.89 kB / 354 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1188, allocations: 4 kB / 354 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1189, allocations: 4 kB / 354 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1189, allocations: 0 / 354 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.119, allocations: 169.5 kB / 354.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.119, allocations: 0 / 354.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.1191, allocations: 8 kB / 354.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1191, allocations: 4 kB / 354.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1191, allocations: 7.984 kB / 354.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1191, allocations: 0 / 354.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1191, allocations: 3.984 kB / 354.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.1193, allocations: 160.2 kB / 354.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.1194, allocations: 93 kB / 354.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.1194, allocations: 3.938 kB / 354.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.055e-05/0.1195, allocations: 4 kB / 354.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.1195, allocations: 3.984 kB / 354.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1195, allocations: 4.031 kB / 354.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.541e-05/0.1196, allocations: 114 kB / 354.6 MB, free: 15 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1196, allocations: 0 / 354.6 MB, free: 15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.1199, allocations: 4 kB / 354.6 MB, free: 15 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.0003941/0.1203, allocations: 0.6937 MB / 355.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.1204, allocations: 23.92 kB / 355.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1204, allocations: 0 / 355.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.569e-05/0.1204, allocations: 11.92 kB / 355.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.1208, allocations: 25.02 kB / 355.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.122, allocations: 1.329 MB / 356.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.1223, allocations: 0.6927 MB / 357.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.132e-05/0.1224, allocations: 0 / 357.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.1224, allocations: 15.44 kB / 357.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1224, allocations: 4 kB / 357.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01118/0.1336, allocations: 1.354 MB / 358.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.1338, allocations: 209.8 kB / 359 MB, free: 10.57 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/1.855, allocations: 3.516 kB / 359 MB, free: 10.57 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches