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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001335/0.001335, 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.001433/0.001433, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.47/1.47, allocations: 230.5 MB / 258.2 MB, free: 7.984 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.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 64.14 kB / 378.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3824, allocations: 53.41 MB / 432 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003706/0.3861, allocations: 1.614 MB / 433.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.3873, allocations: 0.5726 MB / 434.2 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.3874, allocations: 7.938 kB / 434.2 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.019e-05/0.3874, allocations: 3.938 kB / 434.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.3876, allocations: 15.86 kB / 434.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.388, allocations: 63.81 kB / 434.3 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.3882, allocations: 55.72 kB / 434.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.3883, allocations: 16.17 kB / 434.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.3885, allocations: 27.86 kB / 434.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.906e-05/0.3886, allocations: 23.84 kB / 434.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.3886, allocations: 4 kB / 434.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.959e-05/0.3886, allocations: 4 kB / 434.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.893e-05/0.3887, allocations: 11.94 kB / 434.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.3887, allocations: 31.8 kB / 434.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.3889, allocations: 67.39 kB / 434.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3889, allocations: 0 / 434.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3889, allocations: 0 / 434.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.3889, allocations: 0 / 434.5 MB, free: 4.316 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006383/0.3896, allocations: 306.9 kB / 434.8 MB, free: 3.988 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/0.3896, allocations: 8.031 kB / 434.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.194e-05/0.3897, allocations: 4.188 kB / 434.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.195e-05/0.3897, allocations: 46.67 kB / 434.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.39, allocations: 16.89 kB / 434.9 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.3903, allocations: 150.3 kB / 435 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.3903, allocations: 3.938 kB / 435 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.3903, allocations: 7.984 kB / 435 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.3907, allocations: 117.9 kB / 435.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3907, allocations: 0 / 435.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.3907, allocations: 0 / 435.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3907, allocations: 0 / 435.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.697e-05/0.3908, allocations: 23.92 kB / 435.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.3911, allocations: 249.7 kB / 435.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.3912, allocations: 67.8 kB / 435.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.226e-05/0.3913, allocations: 30.62 kB / 435.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.3913, allocations: 4 kB / 435.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.3914, allocations: 38.5 kB / 435.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3914, allocations: 0 / 435.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002903/0.3917, allocations: 85.5 kB / 435.6 MB, free: 3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.229e-05/0.3917, allocations: 115.2 kB / 435.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.3919, allocations: 149.7 kB / 435.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.3919, allocations: 29.69 kB / 435.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.094e-05/0.392, allocations: 92.14 kB / 436 MB, free: 2.578 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.392, allocations: 0 / 436 MB, free: 2.578 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.392, allocations: 21.67 kB / 436 MB, free: 2.551 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3922, allocations: 318.8 kB / 436.3 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.618e-05/0.3922, allocations: 12 kB / 436.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.406e-05/0.3923, allocations: 35.42 kB / 436.4 MB, free: 2.172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.573e-05/0.3924, allocations: 47.36 kB / 436.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3924, allocations: 7.938 kB / 436.4 MB, free: 2.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001415/0.3925, allocations: 65.61 kB / 436.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3925, allocations: 10.19 kB / 436.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3925, allocations: 0 / 436.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3926, allocations: 0 / 436.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.264e-05/0.3926, allocations: 11.98 kB / 436.5 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.3927, allocations: 7.875 kB / 436.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.982e-05/0.3927, allocations: 4 kB / 436.5 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.3927, allocations: 8.125 kB / 436.5 MB, free: 1.996 MB / 334.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 9.611e-05/0.3928, allocations: 117.8 kB / 436.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.819e-05/0.3929, allocations: 57.55 kB / 436.7 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.426e-05/0.3929, allocations: 11.95 kB / 436.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3929, allocations: 4 kB / 436.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3929, allocations: 3.938 kB / 436.7 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3929, allocations: 0 / 436.7 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.3931, allocations: 144.7 kB / 436.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3931, allocations: 4.062 kB / 436.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.988e-05/0.3932, allocations: 15.98 kB / 436.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3932, allocations: 0 / 436.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.3932, allocations: 4 kB / 436.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3932, allocations: 0 / 436.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3932, allocations: 3.938 kB / 436.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.3934, allocations: 177.1 kB / 437.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.3934, allocations: 23.88 kB / 437.1 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.3935, allocations: 0 / 437.1 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.845e-05/0.3935, allocations: 4 kB / 437.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.3936, allocations: 3.938 kB / 437.1 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.3936, allocations: 8 kB / 437.1 MB, free: 1.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.025e-05/0.3937, allocations: 110.2 kB / 437.2 MB, free: 1.234 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3937, allocations: 0 / 437.2 MB, free: 1.234 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.3939, allocations: 8 kB / 437.2 MB, free: 1.227 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: 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.0005012/0.3944, allocations: 0.7142 MB / 437.9 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.3945, allocations: 39.8 kB / 438 MB, free: 452 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3945, allocations: 0 / 438 MB, free: 452 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.606e-05/0.3946, allocations: 15.98 kB / 438 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.3949, allocations: 22.72 kB / 438 MB, free: 416 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.3965, allocations: 1.41 MB / 439.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.3969, allocations: 0.6963 MB / 440.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.968e-05/0.3969, allocations: 4 kB / 440.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.397, allocations: 19.42 kB / 440.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.397, allocations: 0 / 440.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.4204, allocations: 1.833 MB / 442 MB, free: 12.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.3, allocations: 10.11 kB / 442 MB, free: 12.42 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,superSample1.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.u,sample1.y,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,superSample1.factor,superSample1.inferFactor,superSample1.u,superSample1.y,time [Calling sys.exit(0), Time elapsed: 13.96832203300437]