Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00119/0.00119, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.09 kB / 307.1 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1106, allocations: 50.53 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003528/0.1141, allocations: 1.583 MB / 359.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1154, allocations: 0.5649 MB / 359.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1155, allocations: 7.875 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.495e-05/0.1156, allocations: 7.922 kB / 359.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.1157, allocations: 15.86 kB / 359.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.1161, allocations: 59.81 kB / 359.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.1163, allocations: 43.86 kB / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.1164, allocations: 28.14 kB / 359.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.1165, allocations: 31.8 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.408e-05/0.1166, allocations: 15.92 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1166, allocations: 4 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.649e-05/0.1167, allocations: 8 kB / 360 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.938e-05/0.1167, allocations: 15.92 kB / 360 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.1168, allocations: 31.73 kB / 360 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.117, allocations: 59.8 kB / 360.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.117, allocations: 3.938 kB / 360.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.117, allocations: 0 / 360.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.117, allocations: 4 kB / 360.1 MB, free: 11.52 MB / 302.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.000523/0.1175, allocations: 383.3 kB / 360.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1176, allocations: 8.031 kB / 360.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.1176, allocations: 34.75 kB / 360.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.1178, allocations: 20.83 kB / 360.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.1181, allocations: 196.7 kB / 360.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1181, allocations: 4.125 kB / 360.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.1181, allocations: 4 kB / 360.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.1184, allocations: 117.9 kB / 360.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1184, allocations: 4 kB / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1185, allocations: 0 / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1185, allocations: 0 / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.096e-05/0.1186, allocations: 27.97 kB / 360.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.1189, allocations: 274.5 kB / 361.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.119, allocations: 79.78 kB / 361.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.523e-05/0.1191, allocations: 30.64 kB / 361.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1192, allocations: 3.984 kB / 361.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1192, allocations: 38.55 kB / 361.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1192, allocations: 0 / 361.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002973/0.1195, allocations: 85.45 kB / 361.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.012e-05/0.1196, allocations: 110.8 kB / 361.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.1198, allocations: 149.7 kB / 361.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.1198, allocations: 25.7 kB / 361.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.553e-05/0.1199, allocations: 96.05 kB / 361.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.1199, allocations: 384 / 361.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/0.12, allocations: 25.7 kB / 361.7 MB, free: 9.559 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1201, allocations: 310.8 kB / 362.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.326e-05/0.1202, allocations: 15.98 kB / 362.1 MB, free: 9.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-05/0.1203, allocations: 31.38 kB / 362.1 MB, free: 9.188 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.1204, allocations: 47.42 kB / 362.1 MB, free: 9.129 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.1204, allocations: 0 / 362.1 MB, free: 9.129 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001688/0.1206, allocations: 77.39 kB / 362.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1206, allocations: 7.281 kB / 362.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.1206, allocations: 4 kB / 362.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.1206, allocations: 4.125 kB / 362.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.769e-05/0.1208, allocations: 15.98 kB / 362.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.1208, allocations: 7.922 kB / 362.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.091e-05/0.1208, allocations: 4 kB / 362.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1208, allocations: 0 / 362.3 MB, free: 9.008 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001269/0.121, allocations: 126.9 kB / 362.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.1211, allocations: 53.48 kB / 362.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.697e-05/0.1212, allocations: 19.92 kB / 362.5 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1212, allocations: 0 / 362.5 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.1212, allocations: 7.938 kB / 362.5 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1212, allocations: 0 / 362.5 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.1215, allocations: 169.7 kB / 362.6 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1215, allocations: 0 / 362.6 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.729e-05/0.1216, allocations: 15.98 kB / 362.6 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1216, allocations: 0 / 362.6 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.1216, allocations: 3.938 kB / 362.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.1216, allocations: 4 kB / 362.7 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.1216, allocations: 3.938 kB / 362.7 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.1219, allocations: 173.2 kB / 362.8 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.785e-05/0.122, allocations: 93 kB / 362.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.122, allocations: 4 kB / 362.9 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.97e-05/0.1221, allocations: 3.984 kB / 362.9 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.1222, allocations: 7.938 kB / 362.9 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.1222, allocations: 4 kB / 362.9 MB, free: 8.223 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.1223, allocations: 118.6 kB / 363.1 MB, free: 8.109 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1223, allocations: 0 / 363.1 MB, free: 8.109 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1226, allocations: 4 kB / 363.1 MB, free: 8.105 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0007171/0.1233, allocations: 0.714 MB / 363.8 MB, free: 7.359 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.1235, allocations: 27.92 kB / 363.8 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1235, allocations: 0 / 363.8 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.978e-05/0.1236, allocations: 15.98 kB / 363.8 MB, free: 7.316 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006016/0.1242, allocations: 31.06 kB / 363.8 MB, free: 7.289 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.1261, allocations: 1.395 MB / 365.2 MB, free: 5.785 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.1263, allocations: 0.6963 MB / 365.9 MB, free: 5.062 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.931e-05/0.1264, allocations: 8.234 kB / 365.9 MB, free: 5.055 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.366e-05/0.1265, allocations: 15.42 kB / 366 MB, free: 5.039 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1265, allocations: 0 / 366 MB, free: 5.039 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.1474, allocations: 1.662 MB / 367.6 MB, free: 3.469 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.339/8.487, allocations: 15.42 kB / 367.6 MB, free: 3.457 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches