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.001197/0.001197, allocations: 97.22 kB / 16.5 MB, free: 6.203 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.001272/0.001272, allocations: 193.4 kB / 17.42 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.465/1.465, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 44.12 kB / 300.1 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1018, allocations: 49.45 MB / 349.5 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003255/0.1051, allocations: 1.6 MB / 351.1 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009393/0.1061, allocations: 470.8 kB / 351.6 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1062, allocations: 7.938 kB / 351.6 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.188e-05/0.1063, allocations: 0 / 351.6 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.1065, allocations: 7.922 kB / 351.6 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.1068, allocations: 39.91 kB / 351.6 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.1069, allocations: 55.78 kB / 351.7 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.107, allocations: 15.98 kB / 351.7 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.34e-05/0.1071, allocations: 11.94 kB / 351.7 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.907e-05/0.1072, allocations: 23.84 kB / 351.7 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.1072, allocations: 4 kB / 351.7 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.356e-05/0.1072, allocations: 0 / 351.7 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.867e-05/0.1073, allocations: 15.92 kB / 351.7 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.1073, allocations: 27.81 kB / 351.8 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.1074, allocations: 51.8 kB / 351.8 MB, free: 2.414 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1075, allocations: 4 kB / 351.8 MB, free: 2.41 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1075, allocations: 3.938 kB / 351.8 MB, free: 2.406 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.1075, allocations: 0 / 351.8 MB, free: 2.406 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.0005215/0.108, allocations: 374.5 kB / 352.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.1081, allocations: 15.97 kB / 352.2 MB, free: 1.98 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.835e-05/0.1081, allocations: 38.67 kB / 352.2 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.1081, allocations: 8.844 kB / 352.3 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.1084, allocations: 188.2 kB / 352.4 MB, free: 1.703 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-06/0.1084, allocations: 4.375 kB / 352.4 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.1084, allocations: 4.375 kB / 352.5 MB, free: 1.695 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.1087, allocations: 113.2 kB / 352.6 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1087, allocations: 0 / 352.6 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.1087, allocations: 0 / 352.6 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1088, allocations: 4 kB / 352.6 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.968e-05/0.1088, allocations: 23.92 kB / 352.6 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.1091, allocations: 261.7 kB / 352.8 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.721e-05/0.1092, allocations: 49.14 kB / 352.9 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.058e-05/0.1093, allocations: 21.78 kB / 352.9 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.1093, allocations: 3.984 kB / 352.9 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.1094, allocations: 30.56 kB / 352.9 MB, free: 1.094 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1094, allocations: 0 / 352.9 MB, free: 1.094 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002335/0.1096, allocations: 69.73 kB / 353 MB, free: 1.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.1097, allocations: 85.14 kB / 353.1 MB, free: 0.918 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.1098, allocations: 138.1 kB / 353.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.1098, allocations: 25.7 kB / 353.3 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.1099, allocations: 92.08 kB / 353.3 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.1099, allocations: 0 / 353.3 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.1099, allocations: 21.7 kB / 353.4 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1101, allocations: 314.8 kB / 353.7 MB, free: 312 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.585e-05/0.1101, allocations: 19.98 kB / 353.7 MB, free: 292 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.076e-05/0.1102, allocations: 17.66 kB / 353.7 MB, free: 268 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.687e-05/0.1103, allocations: 29.7 kB / 353.7 MB, free: 232 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1103, allocations: 0 / 353.7 MB, free: 232 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001217/0.1104, allocations: 61.59 kB / 353.8 MB, free: 164 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1104, allocations: 7.938 kB / 353.8 MB, free: 156 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.1104, allocations: 3.984 kB / 353.8 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1104, allocations: 4 kB / 353.8 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.519e-05/0.1105, allocations: 4 kB / 353.8 MB, free: 144 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.1105, allocations: 0 / 353.8 MB, free: 144 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.683e-05/0.1106, allocations: 4 kB / 353.8 MB, free: 140 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.1106, allocations: 0 / 353.8 MB, free: 140 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 0.0001371/0.1107, allocations: 125.8 kB / 353.9 MB, free: 4 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.587e-05/0.1108, allocations: 41.59 kB / 354 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.1109, allocations: 15.75 kB / 354 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1109, allocations: 4 kB / 354 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1109, allocations: 0 / 354 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1109, allocations: 0 / 354 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.1111, allocations: 169.6 kB / 354.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1111, allocations: 4 kB / 354.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-05/0.1112, allocations: 4 kB / 354.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1112, allocations: 0 / 354.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1112, allocations: 4.031 kB / 354.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1112, allocations: 0 / 354.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.1112, allocations: 8 kB / 354.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.1114, allocations: 160.2 kB / 354.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.1115, allocations: 93 kB / 354.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.1115, allocations: 4 kB / 354.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.646e-05/0.1116, allocations: 7.969 kB / 354.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.1116, allocations: 3.984 kB / 354.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.1116, allocations: 4 kB / 354.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.829e-05/0.1117, allocations: 106 kB / 354.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1117, allocations: 0 / 354.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.1119, allocations: 4 kB / 354.6 MB, free: 15.29 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.0004452/0.1124, allocations: 0.6937 MB / 355.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.1125, allocations: 23.92 kB / 355.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1125, allocations: 0 / 355.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.865e-05/0.1126, allocations: 15.98 kB / 355.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.1129, allocations: 16.23 kB / 355.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.1144, allocations: 1.331 MB / 356.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.1147, allocations: 0.6926 MB / 357.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.915e-05/0.1147, allocations: 0 / 357.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.1148, allocations: 19.38 kB / 357.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1148, allocations: 0 / 357.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01077/0.1255, allocations: 1.354 MB / 358.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/0.1258, allocations: 222.7 kB / 358.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/1.85, allocations: 0 / 358.9 MB, free: 10.85 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