Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.0008885/0.0008885, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008831/0.0008831, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8663/0.8663, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1315/0.1315, allocations: 32.36 MB / 269.6 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 406.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.443e-05, allocations: 5.938 kB / 406.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001198/0.001222, allocations: 0.4911 MB / 407.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.002673, allocations: 1.361 MB / 408.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.413e-05/0.002697, allocations: 0 / 408.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.002712, allocations: 3.938 kB / 408.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.002912, allocations: 11.92 kB / 408.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009065/0.003818, allocations: 253.8 kB / 408.9 MB, free: 11.44 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.981e-05/0.003868, allocations: 11.92 kB / 408.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.43e-05/0.003902, allocations: 7.922 kB / 409 MB, free: 11.42 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.876e-05/0.003931, allocations: 4 kB / 409 MB, free: 11.41 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.275e-05/0.003964, allocations: 4 kB / 409 MB, free: 11.41 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.003975, allocations: 0 / 409 MB, free: 11.41 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.00559, allocations: 0.7011 MB / 409.7 MB, free: 10.78 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.218e-06/0.005599, allocations: 3.938 kB / 409.7 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.876e-05/0.005618, allocations: 11.94 kB / 409.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.005865, allocations: 215.5 kB / 409.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.005868, allocations: 0 / 409.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.005869, allocations: 0 / 409.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.005874, allocations: 4 kB / 409.9 MB, free: 10.55 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002949/0.006169, allocations: 303.7 kB / 410.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.006203, allocations: 8.031 kB / 410.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.261e-05/0.006226, allocations: 34.75 kB / 410.2 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.158e-05/0.006247, allocations: 4.938 kB / 410.2 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.68e-05/0.006314, allocations: 105.8 kB / 410.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.006324, allocations: 4.375 kB / 410.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-06/0.00633, allocations: 4.375 kB / 410.3 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.258e-05/0.006403, allocations: 59.94 kB / 410.4 MB, free: 9.953 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.006411, allocations: 4.125 kB / 410.4 MB, free: 9.949 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.006423, allocations: 7.938 kB / 410.4 MB, free: 9.941 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.006428, allocations: 0 / 410.4 MB, free: 9.941 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.836e-05/0.006446, allocations: 29.64 kB / 410.4 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001034/0.006549, allocations: 128.8 kB / 410.6 MB, free: 9.738 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.812e-05/0.006587, allocations: 40.28 kB / 410.6 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.598e-05/0.006603, allocations: 34.66 kB / 410.6 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.64e-06/0.006609, allocations: 4 kB / 410.6 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/0.006653, allocations: 56.27 kB / 410.7 MB, free: 9.566 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 5.21e-07/0.006654, allocations: 0 / 410.7 MB, free: 9.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.000148/0.006802, allocations: 130.7 kB / 410.8 MB, free: 9.414 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.006834, allocations: 81.05 kB / 410.9 MB, free: 9.316 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.981e-05/0.006884, allocations: 101.8 kB / 411 MB, free: 9.207 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.006893, allocations: 25.7 kB / 411 MB, free: 9.176 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.006943, allocations: 80.14 kB / 411.1 MB, free: 9.094 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.006957, allocations: 4 kB / 411.1 MB, free: 9.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/0.006975, allocations: 9.969 kB / 411.1 MB, free: 9.074 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.432e-05/0.00704, allocations: 314.8 kB / 411.4 MB, free: 8.758 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.007055, allocations: 29.7 kB / 411.5 MB, free: 8.723 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.918e-06/0.007065, allocations: 25.7 kB / 411.5 MB, free: 8.691 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.351e-05/0.007099, allocations: 72.19 kB / 411.6 MB, free: 8.605 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.0071, allocations: 0 / 411.6 MB, free: 8.605 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.844e-05/0.007148, allocations: 89.06 kB / 411.6 MB, free: 8.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.007171, allocations: 33.7 kB / 411.7 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.007176, allocations: 7.922 kB / 411.7 MB, free: 8.453 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.007186, allocations: 96 / 411.7 MB, free: 8.453 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.007187, allocations: 4 kB / 411.7 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.007191, allocations: 0 / 411.7 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.246e-05/0.007204, allocations: 3.938 kB / 411.7 MB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.007209, allocations: 4 kB / 411.7 MB, free: 8.441 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 5.277e-05/0.007262, allocations: 135.5 kB / 411.8 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-06/0.007267, allocations: 4 kB / 411.8 MB, free: 8.289 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.458e-06/0.007277, allocations: 7.094 kB / 411.8 MB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.007278, allocations: 0 / 411.8 MB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.007281, allocations: 0 / 411.8 MB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.007283, allocations: 0 / 411.8 MB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.007397, allocations: 124.8 kB / 412 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.007398, allocations: 0 / 412 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-07/0.007398, allocations: 0 / 412 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.41e-07/0.007399, allocations: 0 / 412 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.007405, allocations: 7.875 kB / 412 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.007406, allocations: 0 / 412 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.007407, allocations: 4 kB / 412 MB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.239e-05/0.00747, allocations: 116.5 kB / 412.1 MB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.405e-06/0.007472, allocations: 0 / 412.1 MB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.007483, allocations: 11.88 kB / 412.1 MB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.841e-06/0.007488, allocations: 4.031 kB / 412.1 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.081e-05/0.007499, allocations: 11.92 kB / 412.1 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.007502, allocations: 4 kB / 412.1 MB, free: 7.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.159e-05/0.007523, allocations: 79.28 kB / 412.2 MB, free: 7.852 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007523, allocations: 0 / 412.2 MB, free: 7.852 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002104/0.007734, allocations: 59.86 kB / 412.3 MB, free: 7.793 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000569/0.008303, allocations: 0.8956 MB / 413.1 MB, free: 6.855 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.433e-05/0.008387, allocations: 122.7 kB / 413.3 MB, free: 6.711 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.008388, allocations: 0 / 413.3 MB, free: 6.711 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.45e-05/0.008413, allocations: 81.11 kB / 413.3 MB, free: 6.613 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.301e-05/0.008506, allocations: 4 kB / 413.4 MB, free: 6.609 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002478/0.008753, allocations: 172.1 kB / 413.5 MB, free: 6.395 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.443e-05/0.008788, allocations: 63.41 kB / 413.6 MB, free: 6.312 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.012e-06/0.008794, allocations: 4 kB / 413.6 MB, free: 6.309 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.003e-05/0.008814, allocations: 8.5 kB / 413.6 MB, free: 6.301 MB / 346.7 MB Notification: Performance of SimCode: time 3.6e-07/0.008814, allocations: 0 / 413.6 MB, free: 6.301 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01511/0.02393, allocations: 3.232 MB / 416.8 MB, free: 3.023 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.861/6.885, allocations: 8 kB / 416.8 MB, free: 3.016 MB / 346.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.csv: Error: Error opening file: ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,result Variables in the result: [Calling sys.exit(0), Time elapsed: 8.85708511248231]