Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 108.6 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 191.7 kB / 24.5 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 51.91 kB / 371.2 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2621, allocations: 52.19 MB / 423.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002862/0.265, allocations: 1.63 MB / 425.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.266, allocations: 0.5688 MB / 425.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.732e-05/0.266, allocations: 7.938 kB / 425.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.143e-05/0.2661, allocations: 3.938 kB / 425.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.2663, allocations: 27.78 kB / 425.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.2666, allocations: 75.42 kB / 425.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.2667, allocations: 71.77 kB / 425.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.185e-05/0.2668, allocations: 16.23 kB / 425.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.982e-05/0.2669, allocations: 43.83 kB / 425.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.863e-05/0.267, allocations: 31.8 kB / 425.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.267, allocations: 8 kB / 425.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.434e-05/0.267, allocations: 4 kB / 425.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.2671, allocations: 23.91 kB / 425.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.929e-05/0.2671, allocations: 39.73 kB / 426 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.2672, allocations: 80.42 kB / 426 MB, free: 11.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2672, allocations: 0 / 426 MB, free: 11.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2672, allocations: 0 / 426 MB, free: 11.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.2673, allocations: 0 / 426 MB, free: 11.98 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.000565/0.2678, allocations: 341.8 kB / 426.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2679, allocations: 8.031 kB / 426.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.248e-05/0.2679, allocations: 4.188 kB / 426.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.403e-05/0.2679, allocations: 34.75 kB / 426.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.2679, allocations: 16.88 kB / 426.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.2682, allocations: 150.3 kB / 426.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.2682, allocations: 16.31 kB / 426.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.2682, allocations: 8.375 kB / 426.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.2687, allocations: 228.3 kB / 426.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2687, allocations: 0 / 426.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.2687, allocations: 8 kB / 426.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2688, allocations: 0 / 426.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.2689, allocations: 47.91 kB / 426.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.2692, allocations: 265.6 kB / 427.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.2694, allocations: 95.77 kB / 427.2 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.2696, allocations: 58.67 kB / 427.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.2696, allocations: 0 / 427.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.2696, allocations: 38.56 kB / 427.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 8.32e-07/0.2696, allocations: 0 / 427.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004191/0.27, allocations: 145.5 kB / 427.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.272e-05/0.2701, allocations: 118.7 kB / 427.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.2703, allocations: 144.4 kB / 427.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.2703, allocations: 33.83 kB / 427.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.2703, allocations: 84.14 kB / 427.9 MB, free: 9.957 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.2704, allocations: 15.89 kB / 427.9 MB, free: 9.941 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.2704, allocations: 33.66 kB / 427.9 MB, free: 9.902 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.2706, allocations: 326.8 kB / 428.2 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.085e-05/0.2706, allocations: 19.98 kB / 428.2 MB, free: 9.555 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.2707, allocations: 85.44 kB / 428.3 MB, free: 9.438 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.2709, allocations: 113.2 kB / 428.4 MB, free: 9.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2709, allocations: 4 kB / 428.4 MB, free: 9.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002297/0.2711, allocations: 133.4 kB / 428.6 MB, free: 9.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2711, allocations: 4 kB / 428.6 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.2712, allocations: 4 kB / 428.6 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.2712, allocations: 7.984 kB / 428.6 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.2713, allocations: 24.22 kB / 428.6 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/0.2713, allocations: 11.98 kB / 428.6 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.392e-05/0.2714, allocations: 8 kB / 428.6 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.2714, allocations: 8 kB / 428.6 MB, free: 9.086 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.0001065/0.2715, allocations: 133.7 kB / 428.8 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002084/0.2717, allocations: 101.5 kB / 428.9 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.216e-05/0.2717, allocations: 17.03 kB / 428.9 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.2717, allocations: 4 kB / 428.9 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2717, allocations: 0 / 428.9 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2717, allocations: 0 / 428.9 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.2719, allocations: 172.6 kB / 429.1 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.2719, allocations: 4 kB / 429.1 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.272, allocations: 19.98 kB / 429.1 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.272, allocations: 3.938 kB / 429.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.2721, allocations: 4 kB / 429.1 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.2721, allocations: 3.984 kB / 429.1 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2721, allocations: 0 / 429.1 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.2724, allocations: 233 kB / 429.3 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.2724, allocations: 23.89 kB / 429.3 MB, free: 8.297 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.2725, allocations: 0 / 429.3 MB, free: 8.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.87e-05/0.2726, allocations: 15.97 kB / 429.4 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.581e-05/0.2726, allocations: 4 kB / 429.4 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.2726, allocations: 0 / 429.4 MB, free: 8.277 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.772e-05/0.2727, allocations: 111.2 kB / 429.5 MB, free: 8.168 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2727, allocations: 0 / 429.5 MB, free: 8.168 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.2729, allocations: 20 kB / 429.5 MB, free: 8.148 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: 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.0008002/0.2737, allocations: 0.8077 MB / 430.3 MB, free: 7.309 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.274, allocations: 79.78 kB / 430.4 MB, free: 7.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.274, allocations: 0 / 430.4 MB, free: 7.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.029e-05/0.274, allocations: 15.98 kB / 430.4 MB, free: 7.215 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.2744, allocations: 59.36 kB / 430.4 MB, free: 7.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.2764, allocations: 1.662 MB / 432.1 MB, free: 5.344 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.2767, allocations: 0.7117 MB / 432.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.023e-05/0.2768, allocations: 12.48 kB / 432.8 MB, free: 4.594 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/0.2768, allocations: 23.42 kB / 432.9 MB, free: 4.57 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2768, allocations: 0 / 432.9 MB, free: 4.57 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.2992, allocations: 2.447 MB / 435.3 MB, free: 2.277 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.68, allocations: 10.41 kB / 435.3 MB, free: 2.27 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --stepSize=1.1957e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.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.11093288200209]