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.00121/0.00121, allocations: 112.6 kB / 18.49 MB, free: 4.562 MB / 14.72 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.001322/0.001322, allocations: 193 kB / 21.43 MB, free: 1.633 MB / 14.72 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 1.436/1.436, allocations: 225.6 MB / 249.8 MB, free: 3.707 MB / 190.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 51.92 kB / 366.4 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.108, allocations: 52.14 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.00316/0.1112, allocations: 1.617 MB / 420.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1122, allocations: 0.5648 MB / 420.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.1123, allocations: 7.938 kB / 420.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.002e-05/0.1124, allocations: 11.86 kB / 420.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.1127, allocations: 31.84 kB / 420.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.113, allocations: 63.8 kB / 420.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.1131, allocations: 75.78 kB / 420.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1132, allocations: 12.22 kB / 420.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.1133, allocations: 43.78 kB / 420.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.101e-05/0.1134, allocations: 35.84 kB / 421 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.1134, allocations: 4 kB / 421 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.762e-05/0.1134, allocations: 8 kB / 421 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.137e-05/0.1135, allocations: 15.92 kB / 421 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.982e-05/0.1136, allocations: 43.72 kB / 421 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.1137, allocations: 83.64 kB / 421.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1137, allocations: 0 / 421.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1137, allocations: 0 / 421.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1137, allocations: 0 / 421.1 MB, free: 9.957 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.0006597/0.1144, allocations: 410.9 kB / 421.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1144, allocations: 12.03 kB / 421.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.214e-05/0.1145, allocations: 8.188 kB / 421.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.1145, allocations: 38.75 kB / 421.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.1146, allocations: 12.83 kB / 421.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.1149, allocations: 216.1 kB / 421.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.1149, allocations: 4.375 kB / 421.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.1149, allocations: 8.375 kB / 421.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005219/0.1154, allocations: 218.5 kB / 422 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1154, allocations: 4 kB / 422 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.1155, allocations: 4 kB / 422 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1155, allocations: 3.938 kB / 422 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.1156, allocations: 43.97 kB / 422.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.116, allocations: 298.5 kB / 422.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.1163, allocations: 95.89 kB / 422.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.1164, allocations: 54.61 kB / 422.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.1164, allocations: 0 / 422.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.1164, allocations: 38.56 kB / 422.5 MB, free: 8.305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.1164, allocations: 3.938 kB / 422.5 MB, free: 8.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004698/0.1169, allocations: 141.5 kB / 422.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.789e-05/0.117, allocations: 122.8 kB / 422.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.1171, allocations: 143.9 kB / 422.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1172, allocations: 29.7 kB / 423 MB, free: 7.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.1172, allocations: 92.08 kB / 423.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.1172, allocations: 11.94 kB / 423.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.1173, allocations: 33.67 kB / 423.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1174, allocations: 322.8 kB / 423.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.243e-05/0.1175, allocations: 23.98 kB / 423.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.1176, allocations: 85.06 kB / 423.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.1178, allocations: 125.2 kB / 423.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1178, allocations: 4 kB / 423.7 MB, free: 7.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002311/0.118, allocations: 125.4 kB / 423.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.118, allocations: 8.344 kB / 423.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.118, allocations: 7.938 kB / 423.8 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.1181, allocations: 4 kB / 423.8 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.1182, allocations: 20.48 kB / 423.8 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.1182, allocations: 4 kB / 423.8 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.704e-05/0.1182, allocations: 12 kB / 423.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.1183, allocations: 8 kB / 423.8 MB, free: 6.871 MB / 350.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.0001125/0.1184, allocations: 137.7 kB / 424 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.1186, allocations: 101.5 kB / 424.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.1186, allocations: 16.31 kB / 424.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1186, allocations: 4 kB / 424.1 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1186, allocations: 0 / 424.1 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.1186, allocations: 3.984 kB / 424.1 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.1188, allocations: 193.5 kB / 424.3 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1188, allocations: 3.938 kB / 424.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.119, allocations: 19.98 kB / 424.3 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.119, allocations: 0 / 424.3 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.119, allocations: 7.984 kB / 424.3 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.119, allocations: 0 / 424.3 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.119, allocations: 3.938 kB / 424.3 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.1193, allocations: 225.1 kB / 424.5 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.106e-05/0.1194, allocations: 105 kB / 424.6 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.1194, allocations: 0 / 424.6 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.552e-05/0.1195, allocations: 8 kB / 424.7 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.1195, allocations: 7.984 kB / 424.7 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.1195, allocations: 4 kB / 424.7 MB, free: 5.938 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.124e-05/0.1196, allocations: 113 kB / 424.8 MB, free: 5.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1196, allocations: 0 / 424.8 MB, free: 5.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.1199, allocations: 16 kB / 424.8 MB, free: 5.812 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.0008259/0.1207, allocations: 0.816 MB / 425.6 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002449/0.121, allocations: 83.92 kB / 425.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.121, allocations: 4 kB / 425.7 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.694e-05/0.121, allocations: 4.688 kB / 425.7 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.1214, allocations: 71.09 kB / 425.8 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.1234, allocations: 1.674 MB / 427.4 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.1237, allocations: 0.7195 MB / 428.2 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.181e-05/0.1238, allocations: 4.562 kB / 428.2 MB, free: 2.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.598e-05/0.1238, allocations: 27.42 kB / 428.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1238, allocations: 0 / 428.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01872/0.1426, allocations: 2.297 MB / 430.5 MB, free: 76 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.835/7.978, allocations: 13.94 kB / 430.5 MB, free: 64 kB / 350.1 MB " [Timeout remaining time 652] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins1/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] "" Variables in the reference:time,sample1.y,superSampleIpo.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(superSampleIpo.first),previous(superSampleIpo.ticks),previous(superSampleIpo.uu),sample1.u,sample1.y,sine.amplitude,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,superSampleIpo.factor,superSampleIpo.first,superSampleIpo.inferFactor,superSampleIpo.ticks,superSampleIpo.u,superSampleIpo.uu,superSampleIpo.y,time [Calling sys.exit(0), Time elapsed: 10.47338626900455]