Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001882/0.001882, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002299/0.002299, allocations: 207.9 kB / 23.73 MB, free: 4.391 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.532/1.532, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 64.12 kB / 377.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2763, allocations: 53.41 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003253/0.2796, allocations: 1.592 MB / 432.7 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.2807, allocations: 0.5298 MB / 433.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.137e-05/0.2808, allocations: 7.938 kB / 433.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.997e-05/0.2809, allocations: 7.922 kB / 433.3 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.281, allocations: 11.88 kB / 433.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.2813, allocations: 63.8 kB / 433.4 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.2815, allocations: 47.8 kB / 433.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.2816, allocations: 12.17 kB / 433.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.2817, allocations: 31.84 kB / 433.4 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.791e-05/0.2817, allocations: 19.86 kB / 433.5 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.2818, allocations: 4 kB / 433.5 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.485e-05/0.2818, allocations: 8 kB / 433.5 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.111e-05/0.2819, allocations: 15.92 kB / 433.5 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.2819, allocations: 23.81 kB / 433.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.2821, allocations: 65.41 kB / 433.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2821, allocations: 0 / 433.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2821, allocations: 0 / 433.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.2821, allocations: 0 / 433.6 MB, free: 4.012 MB / 334.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.0005206/0.2826, allocations: 305.9 kB / 433.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.2826, allocations: 15.98 kB / 433.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.629e-05/0.2827, allocations: 50.61 kB / 433.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.2829, allocations: 20.89 kB / 434 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.2832, allocations: 142.3 kB / 434.1 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.2833, allocations: 12.11 kB / 434.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.2833, allocations: 0 / 434.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.2836, allocations: 113.9 kB / 434.2 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.2836, allocations: 4 kB / 434.2 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.2837, allocations: 4 kB / 434.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2837, allocations: 0 / 434.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.165e-05/0.2838, allocations: 23.92 kB / 434.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.2842, allocations: 249.6 kB / 434.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.2843, allocations: 67.78 kB / 434.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.884e-05/0.2844, allocations: 26.64 kB / 434.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.2844, allocations: 3.984 kB / 434.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.2845, allocations: 46.5 kB / 434.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2845, allocations: 0 / 434.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003013/0.2848, allocations: 81.56 kB / 434.7 MB, free: 2.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.777e-05/0.2849, allocations: 106.8 kB / 434.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.2851, allocations: 153.6 kB / 435 MB, free: 2.398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.2851, allocations: 29.7 kB / 435 MB, free: 2.363 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.2852, allocations: 84.14 kB / 435.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.2852, allocations: 4.375 kB / 435.1 MB, free: 2.273 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.2852, allocations: 33.59 kB / 435.1 MB, free: 2.234 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.2854, allocations: 314.8 kB / 435.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.66e-05/0.2854, allocations: 11.98 kB / 435.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.474e-05/0.2855, allocations: 35.42 kB / 435.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.2856, allocations: 43.36 kB / 435.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2856, allocations: 0 / 435.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001418/0.2857, allocations: 69.62 kB / 435.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.2858, allocations: 8 kB / 435.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2858, allocations: 0 / 435.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.2858, allocations: 0 / 435.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.839e-05/0.2859, allocations: 11.98 kB / 435.6 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.2859, allocations: 7.875 kB / 435.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.809e-05/0.2859, allocations: 4 kB / 435.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.2859, allocations: 4.125 kB / 435.6 MB, free: 1.695 MB / 334.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 0.0001017/0.286, allocations: 122.7 kB / 435.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.071e-05/0.2861, allocations: 57.55 kB / 435.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.2862, allocations: 11.95 kB / 435.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2862, allocations: 4 kB / 435.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.2862, allocations: 3.938 kB / 435.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.2862, allocations: 0 / 435.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.2864, allocations: 148.6 kB / 436 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2864, allocations: 4 kB / 436 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.589e-05/0.2864, allocations: 8 kB / 436 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2864, allocations: 4.062 kB / 436 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.2864, allocations: 4 kB / 436 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2864, allocations: 0 / 436 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.2864, allocations: 7.922 kB / 436 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.2866, allocations: 181.1 kB / 436.2 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.2867, allocations: 11.95 kB / 436.2 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.2867, allocations: 7.984 kB / 436.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-05/0.2868, allocations: 0 / 436.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.2868, allocations: 7.938 kB / 436.2 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.2868, allocations: 4.141 kB / 436.2 MB, free: 1.035 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.893e-05/0.2869, allocations: 114.8 kB / 436.3 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2869, allocations: 0 / 436.3 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.2871, allocations: 8 kB / 436.3 MB, free: 0.918 MB / 334.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.0005037/0.2877, allocations: 0.714 MB / 437 MB, free: 176 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.2878, allocations: 35.91 kB / 437.1 MB, free: 140 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2878, allocations: 256 / 437.1 MB, free: 140 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.426e-05/0.2878, allocations: 8 kB / 437.1 MB, free: 132 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.2882, allocations: 31.08 kB / 437.1 MB, free: 104 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.2897, allocations: 1.406 MB / 438.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.537e-05/0.2898, allocations: 82.33 kB / 438.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.9e-05/0.2899, allocations: 4 kB / 438.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.2899, allocations: 15.42 kB / 438.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2899, allocations: 4 kB / 438.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.3192, allocations: 2.243 MB / 440.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.3, allocations: 11.75 kB / 440.9 MB, free: 12.32 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.59331e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv","/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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.980666902847588]