Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001773/0.001773, allocations: 120.1 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.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.002196/0.002196, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.41/1.41, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 51.92 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1063, allocations: 53.32 MB / 427 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002962/0.1093, allocations: 1.597 MB / 428.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1104, allocations: 0.5726 MB / 429.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.06e-05/0.1105, allocations: 7.938 kB / 429.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.882e-05/0.1105, allocations: 3.938 kB / 429.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.1106, allocations: 15.88 kB / 429.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.111, allocations: 63.8 kB / 429.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.1111, allocations: 51.78 kB / 429.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1112, allocations: 8.188 kB / 429.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1113, allocations: 31.84 kB / 429.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.435e-05/0.1114, allocations: 19.86 kB / 429.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.1114, allocations: 4 kB / 429.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.12e-05/0.1114, allocations: 8 kB / 429.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.1115, allocations: 15.92 kB / 429.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.1115, allocations: 27.8 kB / 429.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.1117, allocations: 63.69 kB / 429.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1117, allocations: 0 / 429.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1117, allocations: 0 / 429.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.1117, allocations: 0 / 429.5 MB, free: 2.281 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005517/0.1122, allocations: 387 kB / 429.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1123, allocations: 8.031 kB / 429.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.051e-05/0.1123, allocations: 8.125 kB / 429.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.173e-05/0.1123, allocations: 34.75 kB / 429.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.1125, allocations: 24.88 kB / 430 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.1128, allocations: 208.6 kB / 430.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1128, allocations: 7.938 kB / 430.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.1128, allocations: 0 / 430.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.1131, allocations: 121.9 kB / 430.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.1131, allocations: 0 / 430.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.679e-06/0.1131, allocations: 0 / 430.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1131, allocations: 0 / 430.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.27e-05/0.1132, allocations: 27.92 kB / 430.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.1136, allocations: 270.6 kB / 430.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.1137, allocations: 71.78 kB / 430.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.053e-05/0.1138, allocations: 30.62 kB / 430.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.1138, allocations: 7.984 kB / 430.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.1138, allocations: 38.5 kB / 430.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1138, allocations: 0 / 430.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002842/0.1141, allocations: 85.52 kB / 430.8 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.778e-05/0.1142, allocations: 111.2 kB / 430.9 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.1143, allocations: 148 kB / 431.1 MB, free: 480 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.1144, allocations: 25.7 kB / 431.1 MB, free: 448 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.1144, allocations: 92.14 kB / 431.2 MB, free: 352 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1144, allocations: 3.984 kB / 431.2 MB, free: 348 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.1145, allocations: 21.67 kB / 431.2 MB, free: 320 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1146, allocations: 310.8 kB / 431.5 MB, free: 0 / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.413e-05/0.1147, allocations: 20.03 kB / 431.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.819e-05/0.1147, allocations: 39.41 kB / 431.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.618e-05/0.1148, allocations: 47.36 kB / 431.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1148, allocations: 4 kB / 431.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001359/0.115, allocations: 61.62 kB / 431.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.115, allocations: 10.34 kB / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.115, allocations: 3.984 kB / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.115, allocations: 0 / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.161e-05/0.1151, allocations: 8 kB / 431.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.1151, allocations: 7.766 kB / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.155e-05/0.1151, allocations: 4.125 kB / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1151, allocations: 8 kB / 431.7 MB, free: 15.76 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.682e-05/0.1152, allocations: 125.7 kB / 431.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.753e-05/0.1153, allocations: 57.59 kB / 431.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.1154, allocations: 7.875 kB / 431.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1154, allocations: 4 kB / 431.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1154, allocations: 3.938 kB / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1154, allocations: 3.938 kB / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.1156, allocations: 177.6 kB / 432.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1156, allocations: 4.062 kB / 432.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.829e-05/0.1156, allocations: 11.94 kB / 432.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1156, allocations: 0 / 432.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1156, allocations: 4 kB / 432.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1156, allocations: 0 / 432.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.1156, allocations: 7.938 kB / 432.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.1158, allocations: 173.2 kB / 432.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.313e-05/0.1159, allocations: 97.05 kB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.1159, allocations: 3.984 kB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.116, allocations: 3.938 kB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.116, allocations: 7.938 kB / 432.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.116, allocations: 0 / 432.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.526e-05/0.1161, allocations: 118.1 kB / 432.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1161, allocations: 0 / 432.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.1163, allocations: 4 kB / 432.5 MB, free: 14.85 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000488/0.1168, allocations: 0.7063 MB / 433.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001516/0.117, allocations: 43.84 kB / 433.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.117, allocations: 0 / 433.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.002e-05/0.117, allocations: 11.94 kB / 433.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.1174, allocations: 27.5 kB / 433.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.1188, allocations: 1.403 MB / 434.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.1191, allocations: 0.6963 MB / 435.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.203e-05/0.1191, allocations: 4 kB / 435.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.962e-05/0.1192, allocations: 19.42 kB / 435.4 MB, free: 11.78 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1192, allocations: 3.938 kB / 435.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.1365, allocations: 1.743 MB / 437.2 MB, free: 10.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.89/8.026, allocations: 11.75 kB / 437.2 MB, free: 10.16 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,superSample1.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.u,sample1.y,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,superSample1.factor,superSample1.inferFactor,superSample1.u,superSample1.y,time [Calling sys.exit(0), Time elapsed: 10.598177970969118]