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.001307/0.001307, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001548/0.001548, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.562/1.562, allocations: 230.6 MB / 257.5 MB, free: 7.988 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002524/0.002524, allocations: 43.92 kB / 377.8 MB, free: 3.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3145, allocations: 53.36 MB / 431.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003473/0.318, allocations: 1.639 MB / 432.8 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.3194, allocations: 0.6426 MB / 433.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.3195, allocations: 3.938 kB / 433.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.607e-05/0.3195, allocations: 7.875 kB / 433.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.3198, allocations: 39.78 kB / 433.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.3201, allocations: 75.78 kB / 433.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.3203, allocations: 75.78 kB / 433.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3204, allocations: 15.97 kB / 433.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.3206, allocations: 35.86 kB / 433.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.089e-05/0.3206, allocations: 43.77 kB / 433.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.3207, allocations: 4 kB / 433.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.578e-05/0.3207, allocations: 8 kB / 433.7 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.3208, allocations: 19.92 kB / 433.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.501e-05/0.3208, allocations: 39.73 kB / 433.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.321, allocations: 97.25 kB / 433.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.321, allocations: 0 / 433.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.321, allocations: 0 / 433.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.321, allocations: 3.938 kB / 433.9 MB, free: 4.082 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.0005746/0.3216, allocations: 329.9 kB / 434.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3217, allocations: 8.031 kB / 434.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.766e-05/0.3217, allocations: 38.75 kB / 434.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.3219, allocations: 24.83 kB / 434.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.3222, allocations: 154.9 kB / 434.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.3222, allocations: 384 / 434.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.3222, allocations: 15.94 kB / 434.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005421/0.3228, allocations: 216.4 kB / 434.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3228, allocations: 0 / 434.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3228, allocations: 4 kB / 434.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.3228, allocations: 7.984 kB / 434.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.323, allocations: 55.83 kB / 434.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.3234, allocations: 273.5 kB / 435 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.3236, allocations: 87.83 kB / 435.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.3237, allocations: 62.67 kB / 435.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.3237, allocations: 0 / 435.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.3237, allocations: 38.56 kB / 435.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.3238, allocations: 3.938 kB / 435.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.000428/0.3242, allocations: 138 kB / 435.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.327e-05/0.3243, allocations: 122.9 kB / 435.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.3244, allocations: 147.6 kB / 435.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.3244, allocations: 29.7 kB / 435.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.3245, allocations: 96.12 kB / 435.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.3245, allocations: 11.91 kB / 435.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.3246, allocations: 33.7 kB / 435.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3247, allocations: 318.8 kB / 436.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.017e-05/0.3248, allocations: 24.05 kB / 436.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.3249, allocations: 92.69 kB / 436.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.325, allocations: 125.2 kB / 436.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.325, allocations: 0 / 436.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002219/0.3253, allocations: 125.4 kB / 436.4 MB, free: 1.242 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3253, allocations: 4 kB / 436.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3253, allocations: 8.344 kB / 436.4 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3253, allocations: 7.938 kB / 436.4 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.3254, allocations: 23.98 kB / 436.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.3254, allocations: 7.984 kB / 436.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.92e-05/0.3255, allocations: 15.89 kB / 436.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.3255, allocations: 4 kB / 436.5 MB, free: 1.172 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.0001122/0.3256, allocations: 133.7 kB / 436.6 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.3258, allocations: 101.5 kB / 436.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/0.3259, allocations: 16.41 kB / 436.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3259, allocations: 4 kB / 436.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3259, allocations: 0 / 436.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.3259, allocations: 7.938 kB / 436.7 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.3261, allocations: 156.7 kB / 436.9 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3261, allocations: 0 / 436.9 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.3262, allocations: 19.98 kB / 436.9 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3262, allocations: 4 kB / 436.9 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.3262, allocations: 4 kB / 436.9 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-06/0.3262, allocations: 4 kB / 436.9 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.3262, allocations: 7.922 kB / 436.9 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.3265, allocations: 221.1 kB / 437.2 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.3266, allocations: 27.83 kB / 437.2 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.3266, allocations: 16.06 kB / 437.2 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.924e-05/0.3267, allocations: 7.984 kB / 437.2 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.3267, allocations: 3.938 kB / 437.2 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.3267, allocations: 8 kB / 437.2 MB, free: 368 kB / 334.1 MB Notification: Performance of sorting global known variables: time 8.624e-05/0.3268, allocations: 117.3 kB / 437.3 MB, free: 252 kB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3268, allocations: 0 / 437.3 MB, free: 252 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.000263/0.3271, allocations: 15.94 kB / 437.3 MB, free: 236 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.000751/0.3278, allocations: 0.8039 MB / 438.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.3281, allocations: 75.84 kB / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3281, allocations: 0 / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.93e-05/0.3281, allocations: 12.61 kB / 438.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.3286, allocations: 66.36 kB / 438.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.3305, allocations: 1.673 MB / 440 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.3309, allocations: 0.7196 MB / 440.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.643e-05/0.3309, allocations: 4.5 kB / 440.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.033e-05/0.331, allocations: 27.42 kB / 440.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.331, allocations: 0 / 440.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03445/0.3655, allocations: 2.45 MB / 443.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.34, allocations: 3.938 kB / 443.2 MB, free: 10.32 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] Reference file matches [Calling sys.exit(0), Time elapsed: 13.993038265965879]