Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001595/0.001595, allocations: 176.2 kB / 16.12 MB, free: 5.688 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205 MB / 221.9 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007798/0.0007797, allocations: 101.8 kB / 269.9 MB, free: 8.668 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0754/0.0754, allocations: 12.56 MB / 330.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003817, allocations: 8 kB / 391.2 MB, free: 66.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1023, allocations: 49.98 MB / 441.1 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.001483/0.1038, allocations: 1.324 MB / 442.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007103/0.1045, allocations: 0.593 MB / 443.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.264e-05/0.1046, allocations: 0 / 443.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.89e-05/0.1047, allocations: 7.938 kB / 443.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.1049, allocations: 27.91 kB / 443.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.1051, allocations: 55.88 kB / 443.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.76e-05/0.1052, allocations: 71.78 kB / 443.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.859e-05/0.1053, allocations: 24.14 kB / 443.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.223e-05/0.1054, allocations: 23.92 kB / 443.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.894e-05/0.1055, allocations: 35.77 kB / 443.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.1055, allocations: 8 kB / 443.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.521e-05/0.1055, allocations: 4 kB / 443.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.784e-05/0.1056, allocations: 15.92 kB / 443.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.1056, allocations: 27.81 kB / 443.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.861e-05/0.1057, allocations: 83.84 kB / 443.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1058, allocations: 0 / 443.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1058, allocations: 0 / 443.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1058, allocations: 0 / 443.4 MB, free: 13.97 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004208/0.1062, allocations: 399.1 kB / 443.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1062, allocations: 8.031 kB / 443.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.126e-05/0.1063, allocations: 38.75 kB / 443.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.1063, allocations: 12.78 kB / 443.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.1065, allocations: 208 kB / 444.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.1065, allocations: 4.375 kB / 444.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.1065, allocations: 8.375 kB / 444.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004/0.1069, allocations: 230.9 kB / 444.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1069, allocations: 3.938 kB / 444.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.107, allocations: 0 / 444.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.107, allocations: 4 kB / 444.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.1071, allocations: 59.97 kB / 444.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002814/0.1074, allocations: 294.4 kB / 444.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.1076, allocations: 103.8 kB / 444.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1077, allocations: 62.72 kB / 444.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.1077, allocations: 0 / 444.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.965e-05/0.1078, allocations: 42.56 kB / 444.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.1078, allocations: 0 / 444.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003856/0.1082, allocations: 153.4 kB / 445 MB, free: 12.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.1083, allocations: 110.8 kB / 445.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.178e-05/0.1084, allocations: 145.6 kB / 445.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.1084, allocations: 33.83 kB / 445.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.806e-05/0.1084, allocations: 84.14 kB / 445.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.1084, allocations: 23.78 kB / 445.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.1085, allocations: 17.72 kB / 445.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.156e-05/0.1085, allocations: 322.8 kB / 445.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.283e-05/0.1086, allocations: 23.98 kB / 445.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.684e-05/0.1087, allocations: 93.38 kB / 445.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.1088, allocations: 117.3 kB / 446 MB, free: 11.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1088, allocations: 0 / 446 MB, free: 11.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001787/0.109, allocations: 137.3 kB / 446.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.109, allocations: 4.344 kB / 446.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.109, allocations: 8 kB / 446.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.109, allocations: 4 kB / 446.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1091, allocations: 23.98 kB / 446.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.1092, allocations: 7.938 kB / 446.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.274e-05/0.1092, allocations: 15.92 kB / 446.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.1092, allocations: 8 kB / 446.2 MB, free: 10.86 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.superSampleIpo.first,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.083e-05/0.1093, allocations: 133.7 kB / 446.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.1095, allocations: 97.42 kB / 446.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.829e-05/0.1095, allocations: 24.3 kB / 446.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1095, allocations: 4 kB / 446.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1096, allocations: 0.625 kB / 446.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1096, allocations: 0 / 446.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.1097, allocations: 185.6 kB / 446.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1097, allocations: 4 kB / 446.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.1098, allocations: 23.98 kB / 446.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1098, allocations: 0 / 446.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1098, allocations: 4 kB / 446.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1098, allocations: 3.938 kB / 446.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1098, allocations: 4 kB / 446.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.1101, allocations: 233 kB / 446.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.1101, allocations: 97 kB / 447 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.1102, allocations: 3.984 kB / 447 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.906e-05/0.1103, allocations: 12 kB / 447 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.1103, allocations: 4 kB / 447 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.1103, allocations: 4 kB / 447 MB, free: 9.938 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.428e-05/0.1104, allocations: 107.2 kB / 447.1 MB, free: 9.832 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1104, allocations: 0 / 447.1 MB, free: 9.832 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002343/0.1106, allocations: 16 kB / 447.1 MB, free: 9.816 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.000484/0.1111, allocations: 0.8115 MB / 447.9 MB, free: 8.973 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.1113, allocations: 88.19 kB / 448 MB, free: 8.887 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1113, allocations: 0 / 448 MB, free: 8.887 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.484e-05/0.1113, allocations: 19.92 kB / 448 MB, free: 8.867 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.1118, allocations: 59.88 kB / 448.1 MB, free: 8.809 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.1131, allocations: 1.706 MB / 449.8 MB, free: 6.949 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.1133, allocations: 0.7084 MB / 450.5 MB, free: 6.215 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.01e-05/0.1133, allocations: 12.62 kB / 450.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.1134, allocations: 27.36 kB / 450.6 MB, free: 6.172 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1134, allocations: 4 kB / 450.6 MB, free: 6.168 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01135/0.1248, allocations: 1.96 MB / 452.5 MB, free: 4.203 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.125, allocations: 242.1 kB / 452.8 MB, free: 3.945 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/1.904, allocations: 0 / 452.8 MB, free: 3.945 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches