Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 107.5 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 212.3 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.374/1.374, allocations: 230.6 MB / 258.3 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 47.92 kB / 378.5 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2528, allocations: 53.36 MB / 431.9 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002805/0.2556, allocations: 1.623 MB / 433.5 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.2568, allocations: 0.5882 MB / 434.1 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.163e-05/0.2569, allocations: 3.938 kB / 434.1 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.715e-05/0.2569, allocations: 11.94 kB / 434.1 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.2572, allocations: 31.78 kB / 434.1 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.2575, allocations: 83.78 kB / 434.2 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.2577, allocations: 63.84 kB / 434.3 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.2578, allocations: 18.09 kB / 434.3 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.258, allocations: 43.78 kB / 434.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.045e-05/0.258, allocations: 35.78 kB / 434.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.2581, allocations: 4 kB / 434.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.092e-05/0.2581, allocations: 15.94 kB / 434.4 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.2582, allocations: 27.91 kB / 434.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.318e-05/0.2582, allocations: 31.8 kB / 434.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.2584, allocations: 83.58 kB / 434.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.2584, allocations: 4 kB / 434.5 MB, free: 3.953 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2584, allocations: 0 / 434.5 MB, free: 3.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.2584, allocations: 0 / 434.5 MB, free: 3.953 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.00066/0.2591, allocations: 341.8 kB / 434.9 MB, free: 3.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.2592, allocations: 12.03 kB / 434.9 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.537e-05/0.2592, allocations: 192 / 434.9 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.2592, allocations: 38.75 kB / 434.9 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.2594, allocations: 28.83 kB / 434.9 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.2597, allocations: 149.2 kB / 435.1 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.2597, allocations: 12.12 kB / 435.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.2597, allocations: 4 kB / 435.1 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005206/0.2602, allocations: 220.7 kB / 435.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2602, allocations: 0 / 435.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.2602, allocations: 3.984 kB / 435.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.2603, allocations: 0 / 435.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.2604, allocations: 51.91 kB / 435.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.2608, allocations: 257.6 kB / 435.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.261, allocations: 91.77 kB / 435.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.2611, allocations: 66.72 kB / 435.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.2611, allocations: 4 kB / 435.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.2612, allocations: 34.56 kB / 435.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.2612, allocations: 3.938 kB / 435.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004356/0.2616, allocations: 146 kB / 436 MB, free: 2.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/0.2617, allocations: 118.8 kB / 436.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.2618, allocations: 152.7 kB / 436.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.2619, allocations: 29.7 kB / 436.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.2619, allocations: 92.27 kB / 436.3 MB, free: 1.914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.262, allocations: 19.88 kB / 436.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.262, allocations: 25.72 kB / 436.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2621, allocations: 322.8 kB / 436.7 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.013e-05/0.2622, allocations: 19.98 kB / 436.7 MB, free: 1.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.2623, allocations: 92.5 kB / 436.8 MB, free: 1.398 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.2625, allocations: 125.3 kB / 436.9 MB, free: 1.242 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2625, allocations: 0 / 436.9 MB, free: 1.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002214/0.2627, allocations: 133.4 kB / 437.1 MB, free: 1.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2627, allocations: 4 kB / 437.1 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.2627, allocations: 4 kB / 437.1 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.2627, allocations: 7.938 kB / 437.1 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.2628, allocations: 27.92 kB / 437.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.2629, allocations: 3.938 kB / 437.1 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.902e-05/0.2629, allocations: 15.95 kB / 437.1 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.2629, allocations: 4.344 kB / 437.1 MB, free: 1.039 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.0001148/0.263, allocations: 136.7 kB / 437.3 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.2632, allocations: 97.56 kB / 437.4 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.2633, allocations: 16.41 kB / 437.4 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.2633, allocations: 3.984 kB / 437.4 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2633, allocations: 3.938 kB / 437.4 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2633, allocations: 4 kB / 437.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.2635, allocations: 144.7 kB / 437.5 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2635, allocations: 0 / 437.5 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.2636, allocations: 31.86 kB / 437.6 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2636, allocations: 4 kB / 437.6 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.2636, allocations: 4 kB / 437.6 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/0.2636, allocations: 4 kB / 437.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.2636, allocations: 4.125 kB / 437.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.2639, allocations: 225.2 kB / 437.8 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.264, allocations: 27.83 kB / 437.8 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.264, allocations: 0 / 437.8 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.81e-05/0.2641, allocations: 15.92 kB / 437.8 MB, free: 256 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.2642, allocations: 7.938 kB / 437.9 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.2642, allocations: 0 / 437.9 MB, free: 248 kB / 334.1 MB Notification: Performance of sorting global known variables: time 9.214e-05/0.2643, allocations: 111.2 kB / 438 MB, free: 136 kB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2643, allocations: 4 kB / 438 MB, free: 132 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.2645, allocations: 16 kB / 438 MB, free: 116 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.0007602/0.2653, allocations: 0.8038 MB / 438.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.2655, allocations: 71.84 kB / 438.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2655, allocations: 0.6875 kB / 438.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.399e-05/0.2655, allocations: 19.98 kB / 438.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.266, allocations: 59.81 kB / 438.9 MB, free: 15.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.2679, allocations: 1.673 MB / 440.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.389e-05/0.268, allocations: 96.23 kB / 440.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.032e-05/0.268, allocations: 8.578 kB / 440.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.082e-05/0.2681, allocations: 31.36 kB / 440.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2681, allocations: 3.938 kB / 440.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.2902, allocations: 2.519 MB / 443.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.78, allocations: 6.469 kB / 443.3 MB, free: 10.78 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --stepSize=1.1957e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.20316918194294]