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.00132/0.00132, allocations: 117.7 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001571/0.001571, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.339, allocations: 50.53 MB / 408.8 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003517/0.3426, allocations: 1.62 MB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.3439, allocations: 0.6272 MB / 411 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.3441, allocations: 3.938 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.566e-05/0.3442, allocations: 7.875 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.3445, allocations: 39.53 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.3449, allocations: 75.78 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.3451, allocations: 71.78 kB / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3452, allocations: 19.97 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.3454, allocations: 39.92 kB / 411.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.656e-05/0.3454, allocations: 35.77 kB / 411.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.3455, allocations: 8 kB / 411.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.825e-05/0.3455, allocations: 12 kB / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.697e-05/0.3456, allocations: 23.86 kB / 411.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.067e-05/0.3457, allocations: 39.73 kB / 411.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.3459, allocations: 83.69 kB / 411.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3459, allocations: 0 / 411.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3459, allocations: 0 / 411.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.3459, allocations: 7.938 kB / 411.5 MB, free: 14.8 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.0006601/0.3466, allocations: 412.7 kB / 411.9 MB, free: 14.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.3466, allocations: 12.03 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.139e-05/0.3467, allocations: 42.73 kB / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.3469, allocations: 16.84 kB / 411.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.3472, allocations: 216.1 kB / 412.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.3472, allocations: 16.28 kB / 412.2 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.3473, allocations: 7.938 kB / 412.2 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.3478, allocations: 224.5 kB / 412.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3478, allocations: 0 / 412.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3478, allocations: 0 / 412.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3478, allocations: 0 / 412.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.348, allocations: 55.89 kB / 412.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.3484, allocations: 282.6 kB / 412.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.3486, allocations: 103.8 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.3488, allocations: 54.73 kB / 412.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.3488, allocations: 7.938 kB / 412.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.3488, allocations: 42.5 kB / 412.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.3488, allocations: 0 / 412.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004246/0.3493, allocations: 149.4 kB / 413.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.3494, allocations: 114.8 kB / 413.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.3496, allocations: 153.7 kB / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3496, allocations: 25.7 kB / 413.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.3496, allocations: 92.27 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.3497, allocations: 15.89 kB / 413.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/0.3497, allocations: 29.62 kB / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3499, allocations: 322.8 kB / 413.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.804e-05/0.35, allocations: 19.98 kB / 413.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.654e-05/0.3501, allocations: 89.44 kB / 413.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.3502, allocations: 113.3 kB / 414 MB, free: 11.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3502, allocations: 7.938 kB / 414 MB, free: 11.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002338/0.3505, allocations: 129.4 kB / 414.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3505, allocations: 7.984 kB / 414.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3505, allocations: 4 kB / 414.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.3506, allocations: 4 kB / 414.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.3507, allocations: 27.92 kB / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.3507, allocations: 4.844 kB / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.326e-05/0.3508, allocations: 15.88 kB / 414.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.3508, allocations: 8 kB / 414.2 MB, free: 11.68 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.0001102/0.3509, allocations: 129.7 kB / 414.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.3511, allocations: 105.4 kB / 414.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.3512, allocations: 16.31 kB / 414.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3512, allocations: 7.938 kB / 414.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3512, allocations: 0 / 414.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.3512, allocations: 7.922 kB / 414.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.3514, allocations: 189.6 kB / 414.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3514, allocations: 4 kB / 414.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.3515, allocations: 19.98 kB / 414.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3515, allocations: 0 / 414.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.3516, allocations: 11.98 kB / 414.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3516, allocations: 0 / 414.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3516, allocations: 3.984 kB / 414.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.3519, allocations: 229 kB / 414.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.413e-05/0.352, allocations: 108.8 kB / 415 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.352, allocations: 4 kB / 415 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.04e-05/0.3521, allocations: 4 kB / 415 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.3521, allocations: 3.938 kB / 415.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.3521, allocations: 7.984 kB / 415.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.018e-05/0.3522, allocations: 116.4 kB / 415.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.413e-06/0.3522, allocations: 0 / 415.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.3525, allocations: 19.94 kB / 415.2 MB, free: 10.6 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.0006616/0.3531, allocations: 0.7921 MB / 416 MB, free: 9.777 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.3534, allocations: 87.88 kB / 416.1 MB, free: 9.691 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3534, allocations: 0 / 416.1 MB, free: 9.691 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.423e-05/0.3534, allocations: 4 kB / 416.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.3539, allocations: 68.31 kB / 416.1 MB, free: 9.621 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.3559, allocations: 1.681 MB / 417.8 MB, free: 7.781 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.3562, allocations: 0.708 MB / 418.5 MB, free: 7.047 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.775e-05/0.3563, allocations: 12.55 kB / 418.5 MB, free: 7.035 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/0.3564, allocations: 23.62 kB / 418.6 MB, free: 7.012 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3564, allocations: 0 / 418.6 MB, free: 7.012 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.3768, allocations: 2.296 MB / 420.9 MB, free: 4.863 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.318/8.695, allocations: 15.62 kB / 420.9 MB, free: 4.852 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.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