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.001729/0.001729, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002138/0.002138, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.486/1.486, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.001978/0.001978, allocations: 67.89 kB / 377.7 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.326, allocations: 53.4 MB / 431.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.00296/0.3289, allocations: 1.619 MB / 432.8 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.3301, allocations: 0.5882 MB / 433.4 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.136e-05/0.3302, allocations: 3.938 kB / 433.4 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.053e-05/0.3302, allocations: 11.86 kB / 433.4 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.3305, allocations: 35.78 kB / 433.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.3308, allocations: 87.72 kB / 433.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.331, allocations: 75.77 kB / 433.6 MB, free: 4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.476e-05/0.3311, allocations: 11.98 kB / 433.6 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.3312, allocations: 43.78 kB / 433.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.33e-05/0.3313, allocations: 31.84 kB / 433.6 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3313, allocations: 4 kB / 433.7 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.706e-05/0.3313, allocations: 15.98 kB / 433.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.375e-05/0.3314, allocations: 15.92 kB / 433.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.3314, allocations: 27.81 kB / 433.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.3316, allocations: 105.2 kB / 433.8 MB, free: 3.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3316, allocations: 4 kB / 433.8 MB, free: 3.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3316, allocations: 0 / 433.8 MB, free: 3.746 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3316, allocations: 0 / 433.8 MB, free: 3.746 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.0005806/0.3322, allocations: 325.9 kB / 434.1 MB, free: 3.398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3323, allocations: 11.98 kB / 434.1 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.3323, allocations: 42.73 kB / 434.2 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.3324, allocations: 24.83 kB / 434.2 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.3327, allocations: 154.4 kB / 434.4 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.3327, allocations: 8.375 kB / 434.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.3327, allocations: 11.88 kB / 434.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004748/0.3332, allocations: 221.7 kB / 434.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3332, allocations: 0 / 434.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3332, allocations: 4 kB / 434.6 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3333, allocations: 4 kB / 434.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.3334, allocations: 51.89 kB / 434.7 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.3338, allocations: 261.5 kB / 434.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.334, allocations: 87.83 kB / 435 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.3341, allocations: 58.67 kB / 435.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.3341, allocations: 4 kB / 435.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.3341, allocations: 30.56 kB / 435.1 MB, free: 2.297 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.3341, allocations: 4 kB / 435.1 MB, free: 2.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004262/0.3346, allocations: 146 kB / 435.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.43e-05/0.3347, allocations: 122.8 kB / 435.4 MB, free: 2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.3348, allocations: 145.7 kB / 435.5 MB, free: 1.848 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.3348, allocations: 29.7 kB / 435.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.3349, allocations: 96.12 kB / 435.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.3349, allocations: 11.91 kB / 435.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.335, allocations: 33.7 kB / 435.7 MB, free: 1.664 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3351, allocations: 318.8 kB / 436 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.043e-05/0.3352, allocations: 24.11 kB / 436 MB, free: 1.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.3353, allocations: 85.44 kB / 436.1 MB, free: 1.203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.3355, allocations: 125.2 kB / 436.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3355, allocations: 0 / 436.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002351/0.3357, allocations: 125.4 kB / 436.3 MB, free: 0.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3357, allocations: 8.281 kB / 436.3 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3358, allocations: 8 kB / 436.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.3358, allocations: 7.938 kB / 436.4 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.3359, allocations: 23.98 kB / 436.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.3359, allocations: 3.984 kB / 436.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.926e-05/0.336, allocations: 19.89 kB / 436.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.336, allocations: 4 kB / 436.4 MB, free: 0.8438 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.0001302/0.3361, allocations: 129.7 kB / 436.5 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.3363, allocations: 101.5 kB / 436.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.521e-05/0.3364, allocations: 16.41 kB / 436.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3364, allocations: 7.984 kB / 436.7 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.912e-06/0.3364, allocations: 4 kB / 436.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3364, allocations: 3.938 kB / 436.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.3366, allocations: 144.7 kB / 436.8 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3366, allocations: 0 / 436.8 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.3367, allocations: 27.98 kB / 436.8 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.3367, allocations: 3.984 kB / 436.8 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.3367, allocations: 0 / 436.8 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.3367, allocations: 7.938 kB / 436.8 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3367, allocations: 3.938 kB / 436.8 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.3371, allocations: 237.2 kB / 437.1 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/0.3371, allocations: 27.83 kB / 437.1 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.3371, allocations: 0 / 437.1 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.984e-05/0.3372, allocations: 4 kB / 437.1 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.3373, allocations: 11.94 kB / 437.1 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.3373, allocations: 3.984 kB / 437.1 MB, free: 40 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.3374, allocations: 114.6 kB / 437.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3374, allocations: 0 / 437.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.3376, allocations: 16 kB / 437.3 MB, free: 15.91 MB / 350.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.0007875/0.3384, allocations: 0.8106 MB / 438.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002356/0.3387, allocations: 75.88 kB / 438.1 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3387, allocations: 0 / 438.1 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.713e-05/0.3387, allocations: 8 kB / 438.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.3391, allocations: 67.36 kB / 438.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.3412, allocations: 1.673 MB / 439.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.3413, allocations: 92.12 kB / 440 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.646e-05/0.3414, allocations: 12.48 kB / 440 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.3414, allocations: 27.44 kB / 440 MB, free: 12.95 MB / 350.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3414, allocations: 0 / 440 MB, free: 12.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03032/0.3717, allocations: 2.844 MB / 442.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.29, allocations: 8.062 kB / 442.9 MB, free: 10.22 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 & /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] Reference file matches [Calling sys.exit(0), Time elapsed: 13.83985048905015]