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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001617/0.001617, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001556/0.001556, allocations: 219.8 kB / 24.53 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 230.5 MB / 258.2 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.88 kB / 378.6 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3873, allocations: 53.4 MB / 432 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003217/0.3905, allocations: 1.639 MB / 433.6 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.3919, allocations: 0.6504 MB / 434.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.392, allocations: 3.938 kB / 434.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.132e-05/0.3921, allocations: 7.938 kB / 434.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.3924, allocations: 35.78 kB / 434.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.3927, allocations: 79.72 kB / 434.4 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.3928, allocations: 79.72 kB / 434.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3929, allocations: 11.98 kB / 434.5 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.3931, allocations: 35.91 kB / 434.5 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.491e-05/0.3932, allocations: 39.78 kB / 434.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.3932, allocations: 4 kB / 434.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.011e-05/0.3932, allocations: 8 kB / 434.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.353e-05/0.3933, allocations: 23.91 kB / 434.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.177e-05/0.3934, allocations: 43.73 kB / 434.6 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.3936, allocations: 91.94 kB / 434.7 MB, free: 3.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3936, allocations: 0 / 434.7 MB, free: 3.922 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3936, allocations: 0 / 434.7 MB, free: 3.922 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3936, allocations: 0 / 434.7 MB, free: 3.922 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.0006593/0.3943, allocations: 333.9 kB / 435.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.3943, allocations: 8.031 kB / 435.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.477e-05/0.3943, allocations: 4.188 kB / 435.1 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.3944, allocations: 42.73 kB / 435.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.3945, allocations: 20.84 kB / 435.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.3948, allocations: 162.4 kB / 435.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.3949, allocations: 8.125 kB / 435.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.3949, allocations: 8 kB / 435.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005041/0.3954, allocations: 216.8 kB / 435.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3954, allocations: 0 / 435.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3954, allocations: 4 kB / 435.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3954, allocations: 0 / 435.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.3956, allocations: 51.91 kB / 435.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.396, allocations: 273.5 kB / 435.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.3962, allocations: 99.95 kB / 435.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.3963, allocations: 46.55 kB / 436 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.3963, allocations: 4 kB / 436 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.3964, allocations: 38.5 kB / 436 MB, free: 2.457 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.3964, allocations: 0 / 436 MB, free: 2.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004363/0.3968, allocations: 149.5 kB / 436.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.374e-05/0.3969, allocations: 111.3 kB / 436.3 MB, free: 2.172 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.397, allocations: 157.6 kB / 436.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.3971, allocations: 25.7 kB / 436.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.3971, allocations: 88.14 kB / 436.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.3971, allocations: 23.88 kB / 436.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/0.3972, allocations: 29.66 kB / 436.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3973, allocations: 327 kB / 436.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.3974, allocations: 19.98 kB / 436.9 MB, free: 1.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.3975, allocations: 81.44 kB / 437 MB, free: 1.367 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.3977, allocations: 125.3 kB / 437.1 MB, free: 1.211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3977, allocations: 4 kB / 437.1 MB, free: 1.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002325/0.3979, allocations: 137.5 kB / 437.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.398, allocations: 4 kB / 437.3 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.398, allocations: 4 kB / 437.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.398, allocations: 4 kB / 437.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.3981, allocations: 27.92 kB / 437.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.3981, allocations: 7.938 kB / 437.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.269e-05/0.3982, allocations: 7.953 kB / 437.3 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.3982, allocations: 8 kB / 437.3 MB, free: 1.004 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.0001205/0.3983, allocations: 141.9 kB / 437.5 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.3985, allocations: 89.62 kB / 437.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.3986, allocations: 20.34 kB / 437.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3986, allocations: 4 kB / 437.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3986, allocations: 3.938 kB / 437.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3986, allocations: 3.984 kB / 437.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.3988, allocations: 160.6 kB / 437.7 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3988, allocations: 0 / 437.7 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.3989, allocations: 19.98 kB / 437.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3989, allocations: 0 / 437.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.3989, allocations: 15.98 kB / 437.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3989, allocations: 0 / 437.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3989, allocations: 3.938 kB / 437.8 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.3992, allocations: 217.1 kB / 438 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/0.3993, allocations: 27.86 kB / 438 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.3993, allocations: 12 kB / 438 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-05/0.3994, allocations: 0 / 438 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.3994, allocations: 12 kB / 438 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.3994, allocations: 11.98 kB / 438.1 MB, free: 196 kB / 334.1 MB Notification: Performance of sorting global known variables: time 8.416e-05/0.3995, allocations: 110.3 kB / 438.2 MB, free: 88 kB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3995, allocations: 0 / 438.2 MB, free: 88 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.3998, allocations: 15.95 kB / 438.2 MB, free: 72 kB / 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.0007785/0.4006, allocations: 0.8077 MB / 439 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.4008, allocations: 76.44 kB / 439.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.4008, allocations: 4.125 kB / 439.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.867e-05/0.4008, allocations: 8 kB / 439.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.4013, allocations: 66.61 kB / 439.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.4033, allocations: 1.684 MB / 440.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.4036, allocations: 0.708 MB / 441.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.954e-05/0.4036, allocations: 8.484 kB / 441.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.218e-05/0.4037, allocations: 19.44 kB / 441.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4037, allocations: 0 / 441.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.4264, allocations: 2.474 MB / 444 MB, free: 10.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.36, allocations: 10.06 kB / 444 MB, free: 10.12 MB / 350.1 MB " [Timeout remaining time 648] (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 --stepSize=1.1957e-05 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,superSampleIpo.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(superSampleIpo.first),previous(superSampleIpo.ticks),previous(superSampleIpo.uu),sample1.u,sample1.y,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,superSampleIpo.factor,superSampleIpo.first,superSampleIpo.inferFactor,superSampleIpo.ticks,superSampleIpo.u,superSampleIpo.uu,superSampleIpo.y,time [Calling sys.exit(0), Time elapsed: 13.98494103102712]