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.00257/0.00257, allocations: 118.2 kB / 18.49 MB, free: 4.566 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.003825/0.003825, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.806/1.806, allocations: 230.4 MB / 254.7 MB, free: 15.2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002699/0.002699, allocations: 63.91 kB / 373.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.199, allocations: 53.38 MB / 427.1 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.004485/0.2034, allocations: 1.631 MB / 428.7 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.2052, allocations: 0.6272 MB / 429.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.2054, allocations: 11.88 kB / 429.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.903e-05/0.2054, allocations: 7.875 kB / 429.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003391/0.2058, allocations: 31.78 kB / 429.4 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.2062, allocations: 83.72 kB / 429.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.2063, allocations: 75.81 kB / 429.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.2064, allocations: 16 kB / 429.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.2066, allocations: 39.84 kB / 429.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.823e-05/0.2067, allocations: 35.78 kB / 429.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.2067, allocations: 8 kB / 429.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.922e-05/0.2067, allocations: 11.94 kB / 429.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.466e-05/0.2068, allocations: 23.91 kB / 429.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.729e-05/0.2069, allocations: 31.75 kB / 429.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.2071, allocations: 87.56 kB / 429.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2071, allocations: 0 / 429.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.2071, allocations: 8 kB / 429.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.2071, allocations: 3.984 kB / 429.8 MB, free: 1.887 MB / 350.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.0008511/0.208, allocations: 403 kB / 430.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.208, allocations: 12.03 kB / 430.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.731e-05/0.2081, allocations: 4.188 kB / 430.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.073e-05/0.2081, allocations: 42.73 kB / 430.2 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.2083, allocations: 24.83 kB / 430.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.2087, allocations: 216.7 kB / 430.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.2088, allocations: 8.125 kB / 430.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.2088, allocations: 8 kB / 430.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005769/0.2094, allocations: 223.2 kB / 430.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.2094, allocations: 0 / 430.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.2094, allocations: 0 / 430.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.2094, allocations: 4 kB / 430.7 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.2096, allocations: 51.91 kB / 430.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005233/0.2101, allocations: 290.5 kB / 431.1 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.2103, allocations: 95.77 kB / 431.1 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.2105, allocations: 54.73 kB / 431.2 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.748e-05/0.2105, allocations: 7.938 kB / 431.2 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.2105, allocations: 34.56 kB / 431.2 MB, free: 228 kB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.2105, allocations: 0 / 431.2 MB, free: 228 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004922/0.211, allocations: 145.5 kB / 431.4 MB, free: 76 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.2112, allocations: 118.9 kB / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.2114, allocations: 149.1 kB / 431.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.2114, allocations: 25.7 kB / 431.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.2115, allocations: 96.08 kB / 431.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.2115, allocations: 15.89 kB / 431.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.2115, allocations: 37.66 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.2117, allocations: 318.8 kB / 432.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.326e-05/0.2118, allocations: 19.98 kB / 432.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.2119, allocations: 96.19 kB / 432.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.2121, allocations: 121.2 kB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2121, allocations: 0 / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000244/0.2123, allocations: 129.4 kB / 432.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.2123, allocations: 4 kB / 432.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.2124, allocations: 8.344 kB / 432.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.2124, allocations: 4.5 kB / 432.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.2125, allocations: 27.92 kB / 432.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.2125, allocations: 3.938 kB / 432.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.466e-05/0.2126, allocations: 19.89 kB / 432.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.2126, allocations: 8 kB / 432.6 MB, free: 14.77 MB / 366.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.0001441/0.2128, allocations: 129.8 kB / 432.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.213, allocations: 97.56 kB / 432.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.602e-05/0.213, allocations: 16.31 kB / 432.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.213, allocations: 4 kB / 432.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.213, allocations: 7.922 kB / 432.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.213, allocations: 4 kB / 432.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.2133, allocations: 181.6 kB / 433 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2133, allocations: 0 / 433 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.2134, allocations: 23.97 kB / 433 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.2134, allocations: 4 kB / 433 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.2134, allocations: 0 / 433 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.938e-05/0.2134, allocations: 0 / 433 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.2134, allocations: 11.88 kB / 433 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.2137, allocations: 229 kB / 433.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.161e-05/0.2138, allocations: 105 kB / 433.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.2139, allocations: 4 kB / 433.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.314e-05/0.214, allocations: 7.984 kB / 433.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.214, allocations: 7.938 kB / 433.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.537e-06/0.214, allocations: 8 kB / 433.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.118e-05/0.2141, allocations: 107.2 kB / 433.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2141, allocations: 0 / 433.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.2144, allocations: 19.95 kB / 433.5 MB, free: 13.71 MB / 366.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.0008096/0.2152, allocations: 0.8077 MB / 434.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002507/0.2154, allocations: 75.88 kB / 434.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2154, allocations: 0 / 434.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.274e-05/0.2155, allocations: 8.688 kB / 434.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/0.216, allocations: 70.39 kB / 434.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.2185, allocations: 1.684 MB / 436.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.2189, allocations: 0.7041 MB / 436.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.906e-05/0.2189, allocations: 8.547 kB / 436.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.822e-05/0.219, allocations: 31.42 kB / 436.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.219, allocations: 0 / 436.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/0.24, allocations: 2.317 MB / 439.2 MB, free: 7.953 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/8.402, allocations: 7.797 kB / 439.2 MB, free: 7.945 MB / 366.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --stepSize=1.1957e-05 --timeout=50 --tolerance=1e-06 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.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_trunk_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: 11.839896717981901]