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.001255/0.001255, allocations: 132.4 kB / 17.79 MB, free: 5.242 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.001361/0.001361, allocations: 210.5 kB / 20.75 MB, free: 2.293 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.395/1.395, allocations: 230.4 MB / 254 MB, free: 15.01 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.001988/0.001988, allocations: 63.91 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0992/0.1012, allocations: 53.38 MB / 426.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003033/0.1042, allocations: 1.62 MB / 428 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.1055, allocations: 0.635 MB / 428.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.1056, allocations: 3.938 kB / 428.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.979e-05/0.1056, allocations: 11.88 kB / 428.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.1059, allocations: 35.77 kB / 428.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.1062, allocations: 79.78 kB / 428.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1064, allocations: 83.7 kB / 428.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1065, allocations: 11.98 kB / 428.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.1066, allocations: 51.78 kB / 428.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.435e-05/0.1067, allocations: 31.84 kB / 428.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.1067, allocations: 7.938 kB / 428.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.483e-05/0.1068, allocations: 8 kB / 428.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.805e-05/0.1068, allocations: 23.92 kB / 429 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.692e-05/0.1069, allocations: 39.72 kB / 429 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.1071, allocations: 83.58 kB / 429.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1071, allocations: 0 / 429.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1071, allocations: 0 / 429.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1071, allocations: 0 / 429.1 MB, free: 1.875 MB / 350.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.0006308/0.1077, allocations: 411 kB / 429.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1077, allocations: 11.97 kB / 429.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.451e-05/0.1078, allocations: 42.73 kB / 429.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.1079, allocations: 24.83 kB / 429.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.1082, allocations: 215.5 kB / 429.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.1082, allocations: 8.375 kB / 429.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.1082, allocations: 11.94 kB / 429.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004955/0.1087, allocations: 211.4 kB / 430 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1088, allocations: 11.92 kB / 430 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1088, allocations: 4 kB / 430 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1088, allocations: 0 / 430 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.1089, allocations: 47.97 kB / 430.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.1093, allocations: 290.5 kB / 430.3 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.1095, allocations: 99.77 kB / 430.4 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.1096, allocations: 54.73 kB / 430.5 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.1097, allocations: 0 / 430.5 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.1097, allocations: 38.56 kB / 430.5 MB, free: 216 kB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.1097, allocations: 0 / 430.5 MB, free: 216 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004397/0.1101, allocations: 145.5 kB / 430.7 MB, free: 64 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.1102, allocations: 114.8 kB / 430.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.1104, allocations: 145.8 kB / 430.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1104, allocations: 25.7 kB / 431 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.1105, allocations: 96.27 kB / 431 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.1105, allocations: 23.83 kB / 431.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/0.1105, allocations: 29.72 kB / 431.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1107, allocations: 318.8 kB / 431.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.31e-05/0.1108, allocations: 19.98 kB / 431.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.1109, allocations: 93.44 kB / 431.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.111, allocations: 117.2 kB / 431.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.111, allocations: 3.938 kB / 431.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002423/0.1113, allocations: 137.4 kB / 431.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1113, allocations: 8 kB / 431.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1113, allocations: 0 / 431.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1113, allocations: 4 kB / 431.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.1114, allocations: 24.48 kB / 431.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1114, allocations: 4.344 kB / 431.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.262e-05/0.1115, allocations: 27.77 kB / 431.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1115, allocations: 8 kB / 431.9 MB, free: 14.75 MB / 366.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.000114/0.1116, allocations: 129.8 kB / 432 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.1119, allocations: 97.55 kB / 432.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.1119, allocations: 16.31 kB / 432.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1119, allocations: 0 / 432.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.112, allocations: 4 kB / 432.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.112, allocations: 7.922 kB / 432.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.1122, allocations: 181.6 kB / 432.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1122, allocations: 4 kB / 432.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.1123, allocations: 19.98 kB / 432.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.1123, allocations: 4 kB / 432.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1123, allocations: 3.984 kB / 432.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1123, allocations: 0 / 432.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1123, allocations: 7.938 kB / 432.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.1126, allocations: 225.1 kB / 432.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.906e-05/0.1127, allocations: 105 kB / 432.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.1127, allocations: 4 kB / 432.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.469e-05/0.1128, allocations: 8 kB / 432.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.1129, allocations: 7.922 kB / 432.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1129, allocations: 4 kB / 432.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.559e-05/0.113, allocations: 109.9 kB / 432.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.113, allocations: 0 / 432.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.1132, allocations: 19.95 kB / 432.8 MB, free: 13.7 MB / 366.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.0007913/0.114, allocations: 0.8102 MB / 433.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.1142, allocations: 83.88 kB / 433.7 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1142, allocations: 0 / 433.7 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.041e-05/0.1143, allocations: 7.938 kB / 433.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.1147, allocations: 68.36 kB / 433.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.1168, allocations: 1.685 MB / 435.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.1172, allocations: 0.7002 MB / 436.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.703e-05/0.1172, allocations: 12.55 kB / 436.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/0.1173, allocations: 31.42 kB / 436.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1173, allocations: 0 / 436.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.1423, allocations: 2.279 MB / 438.5 MB, free: 7.957 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/7.856, allocations: 7.875 kB / 438.5 MB, free: 7.949 MB / 366.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_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.csv","/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] "Error: Could not read variable superSampleIpo.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.csv. Warning: Get data of variable superSampleIpo.y from file Modelica_trunk_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: 10.56369297998026]