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.0008493/0.0008493, 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.0008632/0.0008632, 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.929/0.929, allocations: 173.4 MB / 200.4 MB, free: 9.43 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 2.073e-06/2.073e-06, allocations: 0 / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.675e-05, allocations: 8.609 kB / 318.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.001965/0.001982, allocations: 1.601 MB / 320 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007345/0.002716, allocations: 0.5336 MB / 320.6 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.624e-05/0.002802, allocations: 7.938 kB / 320.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.27e-05/0.002845, allocations: 11.86 kB / 320.6 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.003101, allocations: 35.66 kB / 320.6 MB, free: 4.133 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.003299, allocations: 71.73 kB / 320.7 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.003418, allocations: 75.78 kB / 320.8 MB, free: 3.988 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.00352, allocations: 20.19 kB / 320.8 MB, free: 3.965 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.369e-05/0.003604, allocations: 39.91 kB / 320.8 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.894e-05/0.003663, allocations: 27.89 kB / 320.9 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.003689, allocations: 11.94 kB / 320.9 MB, free: 3.887 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.409e-05/0.003703, allocations: 8 kB / 320.9 MB, free: 3.879 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.003755, allocations: 19.92 kB / 320.9 MB, free: 3.859 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.959e-05/0.003794, allocations: 19.92 kB / 320.9 MB, free: 3.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.00393, allocations: 83.69 kB / 321 MB, free: 3.758 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.003932, allocations: 0 / 321 MB, free: 3.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.003933, allocations: 0 / 321 MB, free: 3.758 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.003937, allocations: 0 / 321 MB, free: 3.758 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.0007392/0.004677, allocations: 333.8 kB / 321.3 MB, free: 3.402 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.004716, allocations: 12.92 kB / 321.3 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.117e-05/0.004747, allocations: 34.75 kB / 321.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.004774, allocations: 16.89 kB / 321.4 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.004956, allocations: 149.5 kB / 321.5 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.004976, allocations: 8.375 kB / 321.5 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.004987, allocations: 4.375 kB / 321.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.005341, allocations: 222.6 kB / 321.8 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.005349, allocations: 192 / 321.8 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.00536, allocations: 12.11 kB / 321.8 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.005365, allocations: 0 / 321.8 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.005465, allocations: 51.91 kB / 321.8 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.005745, allocations: 245.7 kB / 322.1 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.005866, allocations: 91.77 kB / 322.2 MB, free: 2.445 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.089e-05/0.005937, allocations: 62.67 kB / 322.2 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.00596, allocations: 4 kB / 322.2 MB, free: 2.371 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.005987, allocations: 38.5 kB / 322.3 MB, free: 2.324 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.005989, allocations: 0 / 322.3 MB, free: 2.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002703/0.006259, allocations: 149.5 kB / 322.4 MB, free: 2.172 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.006324, allocations: 110.8 kB / 322.5 MB, free: 2.039 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.274e-05/0.006417, allocations: 145.8 kB / 322.7 MB, free: 1.887 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.006429, allocations: 29.64 kB / 322.7 MB, free: 1.852 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.006466, allocations: 92.27 kB / 322.8 MB, free: 1.758 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.006481, allocations: 11.94 kB / 322.8 MB, free: 1.746 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.006511, allocations: 25.66 kB / 322.8 MB, free: 1.715 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.287e-05/0.006594, allocations: 318.8 kB / 323.1 MB, free: 1.395 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.068e-05/0.006625, allocations: 15.98 kB / 323.1 MB, free: 1.379 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.458e-05/0.00666, allocations: 43.36 kB / 323.2 MB, free: 1.324 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.452e-05/0.006724, allocations: 59.36 kB / 323.2 MB, free: 1.254 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.006726, allocations: 4 kB / 323.2 MB, free: 1.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.631e-05/0.006822, allocations: 89.5 kB / 323.3 MB, free: 1.156 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.006835, allocations: 4 kB / 323.3 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.00684, allocations: 0.5 kB / 323.3 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.006853, allocations: 4 kB / 323.3 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.132e-05/0.006925, allocations: 19.91 kB / 323.4 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.00693, allocations: 0 / 323.4 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.833e-05/0.006959, allocations: 8.125 kB / 323.4 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.006965, allocations: 8 kB / 323.4 MB, free: 1.113 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 7.021e-05/0.007036, allocations: 125.8 kB / 323.5 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.007145, allocations: 97.5 kB / 323.6 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.335e-05/0.007178, allocations: 16.47 kB / 323.6 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.007181, allocations: 0 / 323.6 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.00719, allocations: 4 kB / 323.6 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.007196, allocations: 3.984 kB / 323.6 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.007329, allocations: 148.6 kB / 323.8 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.007332, allocations: 7.938 kB / 323.8 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.113e-05/0.007393, allocations: 19.98 kB / 323.8 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.007395, allocations: 4 kB / 323.8 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.007405, allocations: 4 kB / 323.8 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.007408, allocations: 4 kB / 323.8 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.007409, allocations: 0 / 323.8 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.007586, allocations: 225 kB / 324 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.007625, allocations: 23.88 kB / 324 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.00764, allocations: 0 / 324 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.733e-05/0.007687, allocations: 11.98 kB / 324.1 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.007716, allocations: 4 kB / 324.1 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.007723, allocations: 4 kB / 324.1 MB, free: 348 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.265e-05/0.007775, allocations: 113.8 kB / 324.2 MB, free: 236 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007775, allocations: 0 / 324.2 MB, free: 236 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001668/0.007942, allocations: 16 kB / 324.2 MB, free: 220 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.0004339/0.008376, allocations: 0.8022 MB / 325 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.008501, allocations: 59.95 kB / 325.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.008502, allocations: 0 / 325.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.107e-05/0.008523, allocations: 16.23 kB / 325.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.008821, allocations: 64.41 kB / 325.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.009956, allocations: 1.51 MB / 326.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.229e-05/0.01003, allocations: 88.31 kB / 326.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.871e-05/0.01006, allocations: 8.781 kB / 326.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.01011, allocations: 28.5 kB / 326.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01011, allocations: 0 / 326.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.02738, allocations: 2.887 MB / 329.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.588/6.615, allocations: 10.86 kB / 329.7 MB, free: 10.73 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.csv --start-time 0 --stop-time 0.06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.1957e-05 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.csv","/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] "Error: Could not read variable superSampleIpo.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.csv. Warning: Get data of variable superSampleIpo.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,superSampleIpo.y Variables in the result:time,previous(superSampleIpo.uu),sample1.y,sine.y,superSampleIpo.u,superSampleIpo.uu [Calling sys.exit(0), Time elapsed: 8.493355862796307]