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.002016/0.002016, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00253/0.002531, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.646/1.646, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 63.88 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3565, allocations: 50.55 MB / 408.8 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003299/0.3599, allocations: 1.615 MB / 410.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.3612, allocations: 0.6271 MB / 411.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.857e-05/0.3613, allocations: 8 kB / 411.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.214e-05/0.3614, allocations: 7.875 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.3616, allocations: 31.77 kB / 411.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.362, allocations: 79.78 kB / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.3621, allocations: 75.77 kB / 411.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.3623, allocations: 15.98 kB / 411.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.3624, allocations: 39.84 kB / 411.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.335e-05/0.3625, allocations: 39.78 kB / 411.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.3626, allocations: 8 kB / 411.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.518e-05/0.3626, allocations: 15.98 kB / 411.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.3627, allocations: 15.92 kB / 411.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.94e-05/0.3628, allocations: 35.75 kB / 411.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.363, allocations: 90.56 kB / 411.5 MB, free: 14.78 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.363, allocations: 7.938 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.363, allocations: 0 / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.363, allocations: 0 / 411.5 MB, free: 14.77 MB / 334.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.0006999/0.3637, allocations: 411 kB / 411.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.3638, allocations: 12.03 kB / 412 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.371e-05/0.3638, allocations: 34.75 kB / 412 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.364, allocations: 24.83 kB / 412 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.3643, allocations: 212.1 kB / 412.2 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.3643, allocations: 8.375 kB / 412.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.3644, allocations: 7.938 kB / 412.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005092/0.3649, allocations: 224.5 kB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3649, allocations: 0 / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3649, allocations: 4 kB / 412.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3649, allocations: 0 / 412.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.3651, allocations: 51.91 kB / 412.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.3655, allocations: 298.5 kB / 412.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.3657, allocations: 103.8 kB / 412.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.3659, allocations: 58.69 kB / 413 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.3659, allocations: 3.984 kB / 413 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.366, allocations: 38.5 kB / 413 MB, free: 13.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.366, allocations: 4 kB / 413 MB, free: 13.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004489/0.3664, allocations: 145.5 kB / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.3665, allocations: 114.8 kB / 413.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.3667, allocations: 149.7 kB / 413.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.3667, allocations: 29.7 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.3668, allocations: 92.14 kB / 413.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.3668, allocations: 20.02 kB / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.3669, allocations: 33.72 kB / 413.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.367, allocations: 318.8 kB / 413.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.378e-05/0.3671, allocations: 19.98 kB / 413.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.3672, allocations: 89.42 kB / 414 MB, free: 12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.3674, allocations: 117.2 kB / 414.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3674, allocations: 4 kB / 414.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000308/0.3677, allocations: 129.4 kB / 414.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3678, allocations: 4 kB / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.3678, allocations: 4 kB / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.3678, allocations: 4 kB / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.368, allocations: 23.92 kB / 414.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.368, allocations: 4 kB / 414.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.3682, allocations: 20.23 kB / 414.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.3682, allocations: 8 kB / 414.3 MB, free: 11.65 MB / 334.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 0.0001614/0.3683, allocations: 133.7 kB / 414.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003366/0.3687, allocations: 102.1 kB / 414.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.775e-05/0.3688, allocations: 20.3 kB / 414.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3688, allocations: 0 / 414.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3688, allocations: 0 / 414.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/0.3688, allocations: 7.938 kB / 414.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.3692, allocations: 189.6 kB / 414.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.3692, allocations: 3.984 kB / 414.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.3693, allocations: 23.98 kB / 414.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3693, allocations: 0 / 414.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3694, allocations: 4 kB / 414.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3694, allocations: 0 / 414.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3694, allocations: 0 / 414.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000457/0.3698, allocations: 237 kB / 415 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.37, allocations: 104.9 kB / 415.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.37, allocations: 0 / 415.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.657e-05/0.3701, allocations: 11.98 kB / 415.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.3702, allocations: 7.938 kB / 415.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.3702, allocations: 0 / 415.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.3703, allocations: 112.4 kB / 415.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.644e-06/0.3703, allocations: 0 / 415.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.3706, allocations: 19.94 kB / 415.3 MB, free: 10.58 MB / 334.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.0009614/0.3716, allocations: 0.8 MB / 416.1 MB, free: 9.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.3719, allocations: 88.25 kB / 416.1 MB, free: 9.664 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3719, allocations: 0 / 416.1 MB, free: 9.664 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.3719, allocations: 11.98 kB / 416.2 MB, free: 9.652 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005146/0.3724, allocations: 59.88 kB / 416.2 MB, free: 9.594 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.3748, allocations: 1.684 MB / 417.9 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.3752, allocations: 0.7043 MB / 418.6 MB, free: 7.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.884e-05/0.3753, allocations: 8.547 kB / 418.6 MB, free: 7.012 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.459e-05/0.3754, allocations: 38.86 kB / 418.7 MB, free: 6.977 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3754, allocations: 0 / 418.7 MB, free: 6.977 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02717/0.4026, allocations: 2.254 MB / 420.9 MB, free: 4.867 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.588/8.991, allocations: 11.38 kB / 420.9 MB, free: 4.859 MB / 334.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.1.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