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.001254/0.001254, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.00138/0.00138, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.416/1.416, allocations: 230.5 MB / 257.4 MB, free: 8.004 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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 59.91 kB / 377.8 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2918, allocations: 53.41 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003155/0.295, allocations: 1.635 MB / 432.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.2963, allocations: 0.6387 MB / 433.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.2964, allocations: 7.938 kB / 433.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.517e-05/0.2964, allocations: 11.86 kB / 433.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.2967, allocations: 27.86 kB / 433.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.297, allocations: 83.72 kB / 433.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.2972, allocations: 83.69 kB / 433.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2973, allocations: 8 kB / 433.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.2974, allocations: 39.91 kB / 433.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.596e-05/0.2975, allocations: 39.78 kB / 433.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.2975, allocations: 4 kB / 433.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.007e-05/0.2976, allocations: 12 kB / 433.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.2976, allocations: 27.84 kB / 433.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.501e-05/0.2977, allocations: 31.75 kB / 433.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.2979, allocations: 91.98 kB / 433.9 MB, free: 3.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2979, allocations: 0 / 433.9 MB, free: 3.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2979, allocations: 0 / 433.9 MB, free: 3.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.2979, allocations: 0 / 433.9 MB, free: 3.93 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.0006511/0.2986, allocations: 337.9 kB / 434.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.2986, allocations: 8.031 kB / 434.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.859e-05/0.2987, allocations: 50.73 kB / 434.3 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.2988, allocations: 20.83 kB / 434.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.2991, allocations: 158.2 kB / 434.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.2991, allocations: 4.375 kB / 434.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.2992, allocations: 11.94 kB / 434.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005033/0.2997, allocations: 222.7 kB / 434.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2997, allocations: 0 / 434.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.2997, allocations: 0 / 434.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.2997, allocations: 4 kB / 434.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.2999, allocations: 59.89 kB / 434.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.3002, allocations: 265.5 kB / 435 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.3004, allocations: 99.75 kB / 435.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.3006, allocations: 50.75 kB / 435.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.3006, allocations: 3.938 kB / 435.2 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.3006, allocations: 34.56 kB / 435.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.3006, allocations: 0 / 435.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004433/0.3011, allocations: 149.5 kB / 435.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/0.3011, allocations: 114.8 kB / 435.5 MB, free: 2.168 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.3013, allocations: 149.7 kB / 435.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.3013, allocations: 29.7 kB / 435.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.3014, allocations: 92.14 kB / 435.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.3014, allocations: 15.89 kB / 435.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.3015, allocations: 29.72 kB / 435.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3016, allocations: 323 kB / 436.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.059e-05/0.3017, allocations: 19.98 kB / 436.1 MB, free: 1.488 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.3018, allocations: 93.05 kB / 436.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.302, allocations: 117.3 kB / 436.3 MB, free: 1.219 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.302, allocations: 7.875 kB / 436.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002455/0.3022, allocations: 133.6 kB / 436.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3022, allocations: 4 kB / 436.5 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3022, allocations: 4 kB / 436.5 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.3022, allocations: 4 kB / 436.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3024, allocations: 28.42 kB / 436.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.3024, allocations: 4 kB / 436.5 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.729e-05/0.3024, allocations: 15.89 kB / 436.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.3024, allocations: 4 kB / 436.5 MB, free: 1.012 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.0001184/0.3026, allocations: 137.9 kB / 436.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/0.3028, allocations: 101.6 kB / 436.8 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/0.3028, allocations: 24.33 kB / 436.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3028, allocations: 0 / 436.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3028, allocations: 0 / 436.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.3028, allocations: 7.938 kB / 436.8 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.303, allocations: 152.7 kB / 436.9 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.303, allocations: 3.984 kB / 437 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.3031, allocations: 19.98 kB / 437 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3031, allocations: 4 kB / 437 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.3032, allocations: 4 kB / 437 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.3032, allocations: 4 kB / 437 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3032, allocations: 0 / 437 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.3035, allocations: 229 kB / 437.2 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.3035, allocations: 27.86 kB / 437.2 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.3035, allocations: 4 kB / 437.2 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.387e-05/0.3036, allocations: 12 kB / 437.2 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.3037, allocations: 11.86 kB / 437.3 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.3037, allocations: 4 kB / 437.3 MB, free: 200 kB / 334.1 MB Notification: Performance of sorting global known variables: time 8.602e-05/0.3038, allocations: 114.2 kB / 437.4 MB, free: 88 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3038, allocations: 0 / 437.4 MB, free: 88 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.304, allocations: 19.95 kB / 437.4 MB, free: 68 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.0007597/0.3048, allocations: 0.7961 MB / 438.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.305, allocations: 80.5 kB / 438.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.305, allocations: 64 / 438.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.537e-05/0.3051, allocations: 8 kB / 438.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.3055, allocations: 75.05 kB / 438.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.3074, allocations: 1.68 MB / 440 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.3078, allocations: 0.7079 MB / 440.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.814e-05/0.3078, allocations: 8.484 kB / 440.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.417e-05/0.3079, allocations: 27.42 kB / 440.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3079, allocations: 0 / 440.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/0.3363, allocations: 2.438 MB / 443.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.05, allocations: 4.609 kB / 443.2 MB, free: 10.14 MB / 350.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.csv --start-time 0 --stop-time 0.06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.1957e-05 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.csv","/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] "Error: Could not read variable superSampleIpo.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.csv. Warning: Get data of variable superSampleIpo.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,superSampleIpo.y Variables in the result:time,previous(superSampleIpo.uu),sample1.y,sine.y,superSampleIpo.u,superSampleIpo.uu [Calling sys.exit(0), Time elapsed: 13.574550811998051]