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.001513/0.001513, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001952/0.001952, allocations: 209.4 kB / 24.51 MB, free: 3.941 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.446/1.446, allocations: 230.5 MB / 258.2 MB, free: 7.781 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.001821/0.001821, allocations: 55.91 kB / 378.5 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3342, allocations: 53.41 MB / 431.9 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003388/0.3376, allocations: 1.581 MB / 433.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.3388, allocations: 0.5337 MB / 434 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.603e-05/0.3389, allocations: 7.938 kB / 434 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.834e-05/0.3389, allocations: 3.938 kB / 434 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.3391, allocations: 15.8 kB / 434.1 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.3394, allocations: 63.81 kB / 434.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.3396, allocations: 55.83 kB / 434.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3397, allocations: 12.19 kB / 434.2 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.3398, allocations: 31.8 kB / 434.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.18e-05/0.3399, allocations: 19.86 kB / 434.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.3399, allocations: 4 kB / 434.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.503e-05/0.3399, allocations: 7.984 kB / 434.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.34, allocations: 15.92 kB / 434.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.109e-05/0.34, allocations: 19.88 kB / 434.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.3402, allocations: 64.52 kB / 434.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3402, allocations: 0 / 434.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3402, allocations: 0 / 434.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.3402, allocations: 4 kB / 434.4 MB, free: 4.035 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.0006026/0.3408, allocations: 305.9 kB / 434.7 MB, free: 3.707 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3408, allocations: 12.03 kB / 434.7 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.286e-05/0.3409, allocations: 192 / 434.7 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.863e-05/0.3409, allocations: 34.75 kB / 434.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.3411, allocations: 20.88 kB / 434.7 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.3413, allocations: 154.4 kB / 434.9 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3414, allocations: 7.938 kB / 434.9 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.3414, allocations: 11.98 kB / 434.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.3417, allocations: 113.8 kB / 435 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3417, allocations: 4 kB / 435 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.3417, allocations: 0 / 435 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.3417, allocations: 0 / 435 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.693e-05/0.3418, allocations: 23.92 kB / 435 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.3421, allocations: 241.7 kB / 435.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.3423, allocations: 67.78 kB / 435.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.177e-05/0.3423, allocations: 30.62 kB / 435.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.3424, allocations: 4 kB / 435.4 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.3424, allocations: 38.5 kB / 435.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3424, allocations: 0 / 435.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002835/0.3427, allocations: 89.86 kB / 435.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.337e-05/0.3428, allocations: 110.8 kB / 435.6 MB, free: 2.586 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.3429, allocations: 149.7 kB / 435.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.3429, allocations: 25.7 kB / 435.8 MB, free: 2.398 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.343, allocations: 88.12 kB / 435.9 MB, free: 2.309 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.343, allocations: 8 kB / 435.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.3431, allocations: 17.67 kB / 435.9 MB, free: 2.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3432, allocations: 322.8 kB / 436.2 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.152e-05/0.3432, allocations: 8 kB / 436.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.485e-05/0.3433, allocations: 39.36 kB / 436.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.625e-05/0.3434, allocations: 51.39 kB / 436.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.3434, allocations: 0 / 436.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001369/0.3435, allocations: 69.61 kB / 436.4 MB, free: 1.758 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3435, allocations: 4 kB / 436.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3435, allocations: 4.125 kB / 436.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3436, allocations: 4 kB / 436.4 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.681e-05/0.3436, allocations: 4 kB / 436.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.3437, allocations: 7.938 kB / 436.4 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.3437, allocations: 3.984 kB / 436.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.3437, allocations: 4 kB / 436.4 MB, free: 1.727 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.021e-05/0.3438, allocations: 117.8 kB / 436.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.783e-05/0.3439, allocations: 57.59 kB / 436.6 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.525e-05/0.3439, allocations: 11.97 kB / 436.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3439, allocations: 4.062 kB / 436.6 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3439, allocations: 3.938 kB / 436.6 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3439, allocations: 7.938 kB / 436.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.3441, allocations: 144.6 kB / 436.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3441, allocations: 4 kB / 436.7 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.3442, allocations: 7.984 kB / 436.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3442, allocations: 4 kB / 436.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.3442, allocations: 0 / 436.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3442, allocations: 4 kB / 436.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.3442, allocations: 7.938 kB / 436.8 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.3444, allocations: 177.2 kB / 436.9 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.3445, allocations: 23.88 kB / 437 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.3445, allocations: 0 / 437 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.3446, allocations: 4 kB / 437 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.3446, allocations: 3.938 kB / 437 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.3446, allocations: 7.984 kB / 437 MB, free: 1.062 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.925e-05/0.3447, allocations: 106.6 kB / 437.1 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3447, allocations: 0 / 437.1 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.3449, allocations: 8 kB / 437.1 MB, free: 0.9531 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.0005182/0.3455, allocations: 0.7142 MB / 437.8 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.3456, allocations: 35.86 kB / 437.8 MB, free: 176 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3456, allocations: 0 / 437.8 MB, free: 176 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.017e-05/0.3457, allocations: 11.92 kB / 437.8 MB, free: 164 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.346, allocations: 34.7 kB / 437.9 MB, free: 132 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.3477, allocations: 1.41 MB / 439.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.3478, allocations: 75.33 kB / 439.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.326e-05/0.3478, allocations: 3.984 kB / 439.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.3479, allocations: 15.44 kB / 439.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3479, allocations: 4 kB / 439.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.3715, allocations: 1.902 MB / 441.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.29, allocations: 18.34 kB / 441.3 MB, free: 12.7 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.913427258958109]