Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.SuperSampleInterpolated,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008139/0.000814, allocations: 92.36 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009714/0.0009714, allocations: 205.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002367/0.0002367, allocations: 8 kB / 307.8 MB, free: 0.7148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0994/0.09965, allocations: 51.52 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.001631/0.1013, allocations: 1.332 MB / 360.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009485/0.1023, allocations: 0.6117 MB / 361.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.873e-05/0.1024, allocations: 0 / 361.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.1024, allocations: 3.938 kB / 361.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.1026, allocations: 27.84 kB / 361.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.1029, allocations: 71.86 kB / 361.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.103, allocations: 75.77 kB / 361.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1031, allocations: 23.97 kB / 361.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.1033, allocations: 31.84 kB / 361.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.908e-05/0.1034, allocations: 43.72 kB / 361.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.1034, allocations: 0 / 361.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.151e-05/0.1034, allocations: 8 kB / 361.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.16e-05/0.1035, allocations: 15.92 kB / 361.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.851e-05/0.1036, allocations: 65.42 kB / 361.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.1037, allocations: 75.69 kB / 361.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1037, allocations: 0 / 361.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1037, allocations: 4 kB / 361.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1037, allocations: 0 / 361.7 MB, free: 10.79 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005037/0.1042, allocations: 399.3 kB / 362.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1043, allocations: 8.031 kB / 362.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.125e-05/0.1043, allocations: 42.73 kB / 362.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.1045, allocations: 20.83 kB / 362.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.1047, allocations: 214.8 kB / 362.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.1048, allocations: 8.375 kB / 362.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.1048, allocations: 7.938 kB / 362.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004527/0.1052, allocations: 221.7 kB / 362.6 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1053, allocations: 0 / 362.6 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1053, allocations: 0 / 362.6 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1053, allocations: 4 kB / 362.6 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.1055, allocations: 63.89 kB / 362.7 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.1058, allocations: 286.6 kB / 363 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.106, allocations: 99.77 kB / 363.1 MB, free: 9.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.1061, allocations: 62.73 kB / 363.1 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.1061, allocations: 4 kB / 363.2 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1062, allocations: 38.5 kB / 363.2 MB, free: 9.129 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.1062, allocations: 0 / 363.2 MB, free: 9.129 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005223/0.1067, allocations: 149.5 kB / 363.3 MB, free: 8.977 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.1068, allocations: 122.6 kB / 363.5 MB, free: 8.832 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.107, allocations: 161.2 kB / 363.6 MB, free: 8.668 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.107, allocations: 25.7 kB / 363.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.1071, allocations: 92.12 kB / 363.7 MB, free: 8.543 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.1071, allocations: 11.91 kB / 363.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.1072, allocations: 17.7 kB / 363.8 MB, free: 8.508 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1073, allocations: 323 kB / 364.1 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.019e-05/0.1074, allocations: 19.98 kB / 364.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.1075, allocations: 93.42 kB / 364.2 MB, free: 8.039 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.1076, allocations: 117.3 kB / 364.3 MB, free: 7.891 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1077, allocations: 0 / 364.3 MB, free: 7.891 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002185/0.1079, allocations: 137.3 kB / 364.4 MB, free: 7.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1079, allocations: 8 kB / 364.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1079, allocations: 4 kB / 364.4 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1079, allocations: 3.938 kB / 364.4 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.108, allocations: 31.92 kB / 364.5 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1081, allocations: 8.344 kB / 364.5 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.608e-05/0.1081, allocations: 19.83 kB / 364.5 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.1081, allocations: 4 kB / 364.5 MB, free: 7.672 MB / 302.1 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 9.913e-05/0.1082, allocations: 136.2 kB / 364.6 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.1084, allocations: 97.52 kB / 364.7 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.1085, allocations: 24.28 kB / 364.8 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1085, allocations: 0 / 364.8 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1085, allocations: 4.625 kB / 364.8 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1085, allocations: 3.938 kB / 364.8 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.1087, allocations: 185.6 kB / 365 MB, free: 7.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1087, allocations: 0 / 365 MB, free: 7.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.1088, allocations: 27.98 kB / 365 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1088, allocations: 0 / 365 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.1088, allocations: 7.938 kB / 365 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1088, allocations: 4 kB / 365 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1089, allocations: 0 / 365 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.1091, allocations: 236.9 kB / 365.2 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.081e-05/0.1092, allocations: 97 kB / 365.3 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.1092, allocations: 4 kB / 365.3 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.109e-05/0.1093, allocations: 7.984 kB / 365.3 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.1094, allocations: 7.938 kB / 365.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.1094, allocations: 0 / 365.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.052e-05/0.1095, allocations: 119.2 kB / 365.5 MB, free: 6.621 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1095, allocations: 0 / 365.5 MB, free: 6.621 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.1097, allocations: 12 kB / 365.5 MB, free: 6.609 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: 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.0006642/0.1104, allocations: 0.8195 MB / 366.3 MB, free: 5.758 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.1106, allocations: 83.84 kB / 366.4 MB, free: 5.676 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1106, allocations: 0.6875 kB / 366.4 MB, free: 5.676 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.879e-05/0.1107, allocations: 15.98 kB / 366.4 MB, free: 5.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.1111, allocations: 67.88 kB / 366.4 MB, free: 5.594 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.1129, allocations: 1.719 MB / 368.2 MB, free: 3.719 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.1132, allocations: 0.7043 MB / 368.9 MB, free: 2.988 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.788e-05/0.1132, allocations: 4.562 kB / 368.9 MB, free: 2.984 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.705e-05/0.1133, allocations: 31.42 kB / 368.9 MB, free: 2.953 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1133, allocations: 0 / 368.9 MB, free: 2.953 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01167/0.1249, allocations: 1.98 MB / 370.9 MB, free: 1.152 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002717/0.1253, allocations: 226.7 kB / 371.1 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/1.897, allocations: 4 kB / 371.1 MB, free: 0.8906 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches