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.001678/0.001678, allocations: 101.5 kB / 21.22 MB, free: 0.6211 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.001988/0.001988, allocations: 188.3 kB / 24.49 MB, free: 3.934 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.376/1.376, allocations: 225.7 MB / 253.3 MB, free: 12.84 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.001426/0.001426, allocations: 55.92 kB / 371.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2365, allocations: 52.18 MB / 423.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002782/0.2393, allocations: 1.611 MB / 425 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000952/0.2403, allocations: 0.526 MB / 425.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.609e-05/0.2403, allocations: 3.938 kB / 425.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.422e-05/0.2404, allocations: 11.86 kB / 425.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.2406, allocations: 31.78 kB / 425.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.2409, allocations: 63.81 kB / 425.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.241, allocations: 71.83 kB / 425.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.682e-05/0.2411, allocations: 18.33 kB / 425.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.23e-05/0.2412, allocations: 43.78 kB / 425.7 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.532e-05/0.2412, allocations: 31.84 kB / 425.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.2413, allocations: 8 kB / 425.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/0.2413, allocations: 4 kB / 425.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.317e-05/0.2413, allocations: 15.92 kB / 425.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.682e-05/0.2414, allocations: 35.8 kB / 425.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.2415, allocations: 83.58 kB / 425.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2415, allocations: 0 / 425.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2415, allocations: 4 kB / 425.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.2415, allocations: 3.938 kB / 425.9 MB, free: 11.81 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.000544/0.2421, allocations: 333.8 kB / 426.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.2421, allocations: 12.03 kB / 426.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.183e-05/0.2421, allocations: 192 / 426.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.2422, allocations: 42.73 kB / 426.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.2422, allocations: 8.891 kB / 426.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.2424, allocations: 154.3 kB / 426.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.2424, allocations: 8.312 kB / 426.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.2425, allocations: 8.375 kB / 426.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004741/0.2429, allocations: 217.7 kB / 426.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.243, allocations: 0 / 426.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.243, allocations: 4 kB / 426.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.243, allocations: 4 kB / 426.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.2431, allocations: 47.89 kB / 426.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003196/0.2435, allocations: 257.6 kB / 427 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.2437, allocations: 99.88 kB / 427.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.2438, allocations: 50.56 kB / 427.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.2438, allocations: 7.984 kB / 427.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.2439, allocations: 34.56 kB / 427.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.2439, allocations: 0 / 427.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003946/0.2443, allocations: 142 kB / 427.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.47e-05/0.2443, allocations: 130.9 kB / 427.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.2445, allocations: 140.4 kB / 427.6 MB, free: 9.926 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.2445, allocations: 29.7 kB / 427.6 MB, free: 9.891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/0.2445, allocations: 92.12 kB / 427.7 MB, free: 9.797 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.2446, allocations: 11.89 kB / 427.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.2446, allocations: 33.66 kB / 427.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2448, allocations: 322.8 kB / 428.1 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.883e-05/0.2448, allocations: 19.98 kB / 428.1 MB, free: 9.402 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.928e-05/0.2449, allocations: 91.55 kB / 428.2 MB, free: 9.281 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.2451, allocations: 117.2 kB / 428.3 MB, free: 9.133 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2451, allocations: 0 / 428.3 MB, free: 9.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002202/0.2453, allocations: 137.4 kB / 428.4 MB, free: 8.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.2453, allocations: 8 kB / 428.4 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.2453, allocations: 4 kB / 428.4 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.2453, allocations: 0 / 428.4 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.2454, allocations: 28.27 kB / 428.5 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.2454, allocations: 8 kB / 428.5 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.045e-05/0.2455, allocations: 4 kB / 428.5 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.2455, allocations: 11.98 kB / 428.5 MB, free: 8.93 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.0001046/0.2456, allocations: 129.7 kB / 428.6 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.2458, allocations: 101.5 kB / 428.7 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.2459, allocations: 20.33 kB / 428.7 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.2459, allocations: 4 kB / 428.7 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2459, allocations: 0 / 428.7 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2459, allocations: 0 / 428.7 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.2461, allocations: 156.6 kB / 428.9 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2461, allocations: 4 kB / 428.9 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.2462, allocations: 19.98 kB / 428.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2462, allocations: 0 / 428.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.2462, allocations: 4 kB / 428.9 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.2462, allocations: 7.969 kB / 428.9 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2462, allocations: 0 / 428.9 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.2465, allocations: 233.1 kB / 429.1 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.2465, allocations: 23.89 kB / 429.2 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.2465, allocations: 4 kB / 429.2 MB, free: 8.152 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.467e-05/0.2466, allocations: 11.98 kB / 429.2 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.2467, allocations: 4 kB / 429.2 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.2467, allocations: 4 kB / 429.2 MB, free: 8.133 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.981e-05/0.2468, allocations: 107.2 kB / 429.3 MB, free: 8.027 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2468, allocations: 0 / 429.3 MB, free: 8.027 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.247, allocations: 16 kB / 429.3 MB, free: 8.012 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.0007226/0.2477, allocations: 0.8155 MB / 430.1 MB, free: 7.164 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.2479, allocations: 80.16 kB / 430.2 MB, free: 7.086 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2479, allocations: 0 / 430.2 MB, free: 7.086 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.673e-05/0.248, allocations: 11.98 kB / 430.2 MB, free: 7.074 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.2484, allocations: 60.95 kB / 430.3 MB, free: 7.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.2502, allocations: 1.673 MB / 432 MB, free: 5.195 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.771e-05/0.2503, allocations: 96.05 kB / 432 MB, free: 5.082 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.903e-05/0.2503, allocations: 8.672 kB / 432.1 MB, free: 5.074 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.923e-05/0.2504, allocations: 23.42 kB / 432.1 MB, free: 5.051 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2504, allocations: 7.938 kB / 432.1 MB, free: 5.043 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.2725, allocations: 2.497 MB / 434.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.91, allocations: 14.56 kB / 434.6 MB, free: 2.703 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.34188768803142]