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.001416/0.001416, allocations: 113 kB / 18.49 MB, free: 4.539 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.00148/0.00148, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.424/1.424, allocations: 230.6 MB / 254.8 MB, free: 15.09 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 55.91 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1026, allocations: 53.32 MB / 427 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002708/0.1053, allocations: 1.63 MB / 428.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1064, allocations: 0.635 MB / 429.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.151e-05/0.1065, allocations: 3.938 kB / 429.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.15e-05/0.1065, allocations: 3.938 kB / 429.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.1067, allocations: 35.78 kB / 429.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.107, allocations: 91.16 kB / 429.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.1071, allocations: 75.81 kB / 429.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.014e-05/0.1072, allocations: 8 kB / 429.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1073, allocations: 43.78 kB / 429.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.942e-05/0.1074, allocations: 39.78 kB / 429.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.1074, allocations: 4 kB / 429.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.086e-05/0.1075, allocations: 19.98 kB / 429.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.592e-05/0.1075, allocations: 15.92 kB / 429.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.723e-05/0.1075, allocations: 35.75 kB / 429.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.1077, allocations: 99.48 kB / 429.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1077, allocations: 0 / 429.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1077, allocations: 0 / 429.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.1077, allocations: 3.938 kB / 429.8 MB, free: 2.02 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.0005684/0.1083, allocations: 407 kB / 430.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1083, allocations: 12.03 kB / 430.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.41e-05/0.1083, allocations: 8.188 kB / 430.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.516e-05/0.1084, allocations: 34.75 kB / 430.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.1085, allocations: 24.83 kB / 430.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.1088, allocations: 208.7 kB / 430.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.1088, allocations: 16.12 kB / 430.5 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.1088, allocations: 7.938 kB / 430.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.1093, allocations: 226.1 kB / 430.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1093, allocations: 0 / 430.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1093, allocations: 4 kB / 430.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.1093, allocations: 0 / 430.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.1095, allocations: 47.91 kB / 430.7 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.1098, allocations: 294.5 kB / 431 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.11, allocations: 99.88 kB / 431.1 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.1102, allocations: 46.62 kB / 431.2 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.1102, allocations: 7.984 kB / 431.2 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.1102, allocations: 38.5 kB / 431.2 MB, free: 364 kB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1102, allocations: 4 kB / 431.2 MB, free: 360 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004275/0.1106, allocations: 141.5 kB / 431.4 MB, free: 212 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.418e-05/0.1107, allocations: 114.8 kB / 431.5 MB, free: 72 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.1109, allocations: 148 kB / 431.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.1109, allocations: 29.7 kB / 431.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.1109, allocations: 92.08 kB / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.111, allocations: 20.02 kB / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.111, allocations: 29.72 kB / 431.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1111, allocations: 322.8 kB / 432.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.759e-05/0.1112, allocations: 19.98 kB / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.1113, allocations: 97.36 kB / 432.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.1115, allocations: 113.3 kB / 432.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1115, allocations: 0 / 432.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002264/0.1117, allocations: 137.4 kB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1117, allocations: 8 kB / 432.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1117, allocations: 4 kB / 432.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1117, allocations: 0 / 432.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1118, allocations: 27.92 kB / 432.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1118, allocations: 7.938 kB / 432.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.465e-05/0.1119, allocations: 12.23 kB / 432.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1119, allocations: 15.94 kB / 432.5 MB, free: 14.9 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.0001027/0.112, allocations: 129.8 kB / 432.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.1122, allocations: 98.19 kB / 432.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.25e-05/0.1122, allocations: 16.3 kB / 432.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1122, allocations: 4 kB / 432.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1123, allocations: 3.938 kB / 432.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.1123, allocations: 0 / 432.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.1124, allocations: 185.6 kB / 433 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1125, allocations: 3.984 kB / 433 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.1126, allocations: 27.92 kB / 433 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1126, allocations: 0 / 433 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.1126, allocations: 8 kB / 433 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1126, allocations: 0 / 433 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1126, allocations: 7.875 kB / 433 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.1129, allocations: 225.1 kB / 433.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.679e-05/0.113, allocations: 96.98 kB / 433.3 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.113, allocations: 8 kB / 433.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1131, allocations: 7.984 kB / 433.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.1131, allocations: 3.938 kB / 433.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.1131, allocations: 4 kB / 433.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.279e-05/0.1132, allocations: 118.1 kB / 433.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1132, allocations: 0 / 433.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1135, allocations: 19.95 kB / 433.5 MB, free: 13.84 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.0007157/0.1142, allocations: 0.8004 MB / 434.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.1144, allocations: 80.25 kB / 434.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1144, allocations: 4 kB / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.898e-05/0.1144, allocations: 7.984 kB / 434.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.1149, allocations: 59.88 kB / 434.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.1167, allocations: 1.673 MB / 436.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.117, allocations: 0.7157 MB / 436.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.699e-05/0.1171, allocations: 12.55 kB / 436.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.1171, allocations: 27.42 kB / 436.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1171, allocations: 4 kB / 436.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.1353, allocations: 2.306 MB / 439.2 MB, free: 8.109 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.881/8.016, allocations: 22.17 kB / 439.2 MB, free: 8.094 MB / 366.1 MB " [Timeout remaining time 652] (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] "" 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.continuous,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.642118740011938]