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.0008514/0.0008514, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008728/0.0008728, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.9469/0.9469, allocations: 173.4 MB / 200.4 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 318.4 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.224e-05, allocations: 6.219 kB / 318.4 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002264/0.002286, allocations: 1.59 MB / 320 MB, free: 4.609 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008928/0.003179, allocations: 0.5375 MB / 320.6 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.688e-05/0.003266, allocations: 3.938 kB / 320.6 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.571e-05/0.003311, allocations: 7.922 kB / 320.6 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.003551, allocations: 43.66 kB / 320.6 MB, free: 4.012 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.003748, allocations: 78.8 kB / 320.7 MB, free: 3.938 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.003862, allocations: 75.77 kB / 320.8 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.003963, allocations: 20.2 kB / 320.8 MB, free: 3.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.581e-05/0.004049, allocations: 43.89 kB / 320.8 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.93e-05/0.004108, allocations: 23.91 kB / 320.9 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.00413, allocations: 4 kB / 320.9 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.004143, allocations: 8 kB / 320.9 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.266e-05/0.004195, allocations: 19.91 kB / 320.9 MB, free: 3.742 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.00423, allocations: 23.94 kB / 320.9 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.004364, allocations: 87.61 kB / 321 MB, free: 3.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.004367, allocations: 4 kB / 321 MB, free: 3.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.004368, allocations: 0 / 321 MB, free: 3.629 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.004372, allocations: 0 / 321 MB, free: 3.629 MB / 282.7 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.0004646/0.004837, allocations: 329.9 kB / 321.3 MB, free: 3.277 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.00488, allocations: 8.922 kB / 321.3 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/0.004916, allocations: 38.75 kB / 321.4 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.004944, allocations: 8.891 kB / 321.4 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.005178, allocations: 157.5 kB / 321.5 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.005209, allocations: 12.31 kB / 321.6 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.005226, allocations: 8.359 kB / 321.6 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.005589, allocations: 220.7 kB / 321.8 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.005599, allocations: 4.188 kB / 321.8 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.005609, allocations: 4.125 kB / 321.8 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.005615, allocations: 4 kB / 321.8 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.005717, allocations: 55.89 kB / 321.8 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002501/0.005967, allocations: 241.7 kB / 322.1 MB, free: 2.434 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.00608, allocations: 95.77 kB / 322.2 MB, free: 2.312 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.036e-05/0.00615, allocations: 58.67 kB / 322.2 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.006172, allocations: 4 kB / 322.2 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.006192, allocations: 38.5 kB / 322.3 MB, free: 2.195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.006193, allocations: 0 / 322.3 MB, free: 2.195 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003189/0.006512, allocations: 153.5 kB / 322.4 MB, free: 2.039 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.006572, allocations: 110.8 kB / 322.5 MB, free: 1.906 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.367e-05/0.006666, allocations: 141.8 kB / 322.7 MB, free: 1.758 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.006678, allocations: 29.7 kB / 322.7 MB, free: 1.723 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.006715, allocations: 88.14 kB / 322.8 MB, free: 1.633 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.00673, allocations: 7.953 kB / 322.8 MB, free: 1.625 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.006762, allocations: 25.66 kB / 322.8 MB, free: 1.594 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.492e-05/0.006837, allocations: 323 kB / 323.1 MB, free: 1.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.926e-05/0.006867, allocations: 19.92 kB / 323.1 MB, free: 1.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.478e-05/0.006901, allocations: 43.36 kB / 323.2 MB, free: 1.195 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.136e-05/0.006963, allocations: 55.36 kB / 323.2 MB, free: 1.129 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.006964, allocations: 0 / 323.2 MB, free: 1.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.931e-05/0.007064, allocations: 97.5 kB / 323.3 MB, free: 1.027 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.007075, allocations: 4 kB / 323.3 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.00708, allocations: 0.5 kB / 323.3 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.007092, allocations: 4 kB / 323.3 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.007155, allocations: 11.98 kB / 323.4 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.00716, allocations: 0 / 323.4 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.494e-05/0.007185, allocations: 8 kB / 323.4 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.007192, allocations: 4 kB / 323.4 MB, free: 0.9961 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,$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 (7): * Single equations (assignments): 7 * 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 6.832e-05/0.00726, allocations: 125.9 kB / 323.5 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.007364, allocations: 101.6 kB / 323.6 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.007395, allocations: 16.47 kB / 323.6 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.007397, allocations: 3.938 kB / 323.6 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.007401, allocations: 0 / 323.6 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.007407, allocations: 7.984 kB / 323.6 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.007524, allocations: 152.6 kB / 323.8 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.007526, allocations: 3.938 kB / 323.8 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/0.007581, allocations: 19.98 kB / 323.8 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.007584, allocations: 4 kB / 323.8 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.007592, allocations: 0 / 323.8 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.007593, allocations: 4 kB / 323.8 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.007595, allocations: 4 kB / 323.8 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.007756, allocations: 229 kB / 324 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.007793, allocations: 23.88 kB / 324.1 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.007808, allocations: 0 / 324.1 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.521e-05/0.007853, allocations: 8 kB / 324.1 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.007877, allocations: 3.984 kB / 324.1 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.007882, allocations: 4 kB / 324.1 MB, free: 220 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.08e-05/0.007933, allocations: 113.7 kB / 324.2 MB, free: 108 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007933, allocations: 0 / 324.2 MB, free: 108 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001685/0.008101, allocations: 16 kB / 324.2 MB, free: 92 kB / 282.7 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.0004646/0.008566, allocations: 0.8037 MB / 325 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.008694, allocations: 59.95 kB / 325.1 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008696, allocations: 0 / 325.1 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.824e-05/0.008714, allocations: 7.984 kB / 325.1 MB, free: 15.19 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.009045, allocations: 60.72 kB / 325.1 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.01011, allocations: 1.523 MB / 326.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.101e-05/0.01017, allocations: 84.31 kB / 326.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.894e-05/0.0102, allocations: 8.719 kB / 326.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.626e-05/0.01025, allocations: 28.5 kB / 326.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01025, allocations: 0 / 326.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.02678, allocations: 2.882 MB / 329.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.817/6.843, allocations: 6.688 kB / 329.7 MB, free: 10.61 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.62030672840774]