Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.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.0007865/0.0007865, allocations: 80.53 kB / 19.93 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.0008509/0.0008509, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.8405/0.8405, allocations: 158.6 MB / 185 MB, free: 3.039 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.1268/0.1268, allocations: 32.37 MB / 269.6 MB, free: 14.95 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.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.825e-05, allocations: 5.938 kB / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001035/0.001054, allocations: 495 kB / 407.3 MB, free: 13.06 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.003111, allocations: 1.998 MB / 409.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.746e-05/0.003128, allocations: 0 / 409.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.003145, allocations: 0 / 409.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.761e-05/0.003163, allocations: 0 / 409.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009222/0.004085, allocations: 389.4 kB / 409.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.14e-05/0.004126, allocations: 4 kB / 409.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.427e-05/0.00416, allocations: 3.984 kB / 409.7 MB, free: 10.65 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.462e-05/0.004185, allocations: 0 / 409.7 MB, free: 10.65 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007252/0.01144, allocations: 3.378 MB / 413.1 MB, free: 7.332 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.01146, allocations: 0 / 413.1 MB, free: 7.332 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.967e-05/0.01154, allocations: 11.98 kB / 413.1 MB, free: 7.32 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.137e-06/0.01154, allocations: 0 / 413.1 MB, free: 7.32 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.79e-05/0.01156, allocations: 0 / 413.1 MB, free: 7.32 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.0117, allocations: 11.94 kB / 413.1 MB, free: 7.309 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.0117, allocations: 3.938 kB / 413.1 MB, free: 7.305 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.0117, allocations: 0 / 413.1 MB, free: 7.305 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.01171, allocations: 0 / 413.1 MB, free: 7.305 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002411/0.01195, allocations: 242.5 kB / 413.3 MB, free: 7.039 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.01199, allocations: 16.03 kB / 413.3 MB, free: 7.023 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.509e-05/0.01204, allocations: 110 kB / 413.5 MB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.01218, allocations: 84.2 kB / 413.5 MB, free: 6.824 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.699e-05/0.01227, allocations: 185.1 kB / 413.7 MB, free: 6.617 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.0123, allocations: 150.9 kB / 413.9 MB, free: 6.469 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.01234, allocations: 158.9 kB / 414 MB, free: 6.312 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.934e-05/0.01239, allocations: 109.3 kB / 414.1 MB, free: 6.199 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.01241, allocations: 75.28 kB / 414.2 MB, free: 6.125 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.959e-05/0.01245, allocations: 150.6 kB / 414.3 MB, free: 5.977 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.22e-05/0.01248, allocations: 150.6 kB / 414.5 MB, free: 5.828 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.664e-05/0.01252, allocations: 154.6 kB / 414.6 MB, free: 5.676 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.0127, allocations: 421 kB / 415.1 MB, free: 5.223 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.22e-05/0.01276, allocations: 173.1 kB / 415.2 MB, free: 5.043 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.553e-05/0.01279, allocations: 80.14 kB / 415.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.01281, allocations: 75.28 kB / 415.4 MB, free: 4.887 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.01284, allocations: 109.8 kB / 415.5 MB, free: 4.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.01284, allocations: 0 / 415.5 MB, free: 4.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 5.758e-05/0.0129, allocations: 29.7 kB / 415.5 MB, free: 4.734 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.01297, allocations: 186 kB / 415.7 MB, free: 4.527 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.633e-05/0.01304, allocations: 93.86 kB / 415.8 MB, free: 4.426 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.739e-06/0.01305, allocations: 29.7 kB / 415.8 MB, free: 4.391 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.195e-05/0.01307, allocations: 84.12 kB / 415.9 MB, free: 4.305 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.01307, allocations: 0 / 415.9 MB, free: 4.305 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/0.01309, allocations: 17.7 kB / 415.9 MB, free: 4.281 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.012e-05/0.01316, allocations: 310.8 kB / 416.2 MB, free: 3.969 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-06/0.01317, allocations: 0 / 416.2 MB, free: 3.969 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.393e-05/0.0132, allocations: 65.12 kB / 416.3 MB, free: 3.887 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.337e-05/0.01323, allocations: 79.28 kB / 416.4 MB, free: 3.809 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.65e-05/0.01324, allocations: 75.28 kB / 416.4 MB, free: 3.734 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.406e-05/0.01328, allocations: 29.7 kB / 416.5 MB, free: 3.699 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.0133, allocations: 87.38 kB / 416.5 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.01332, allocations: 83.16 kB / 416.6 MB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.242e-05/0.01337, allocations: 158.5 kB / 416.8 MB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.822e-05/0.01338, allocations: 79.22 kB / 416.9 MB, free: 3.297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.223e-05/0.01342, allocations: 150.6 kB / 417 MB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.645e-05/0.01347, allocations: 83.28 kB / 417.1 MB, free: 3.066 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.01349, allocations: 83.22 kB / 417.2 MB, free: 2.984 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 7.936e-05/0.01357, allocations: 260.4 kB / 417.4 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.01361, allocations: 109 kB / 417.5 MB, free: 2.605 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.01364, allocations: 115.7 kB / 417.6 MB, free: 2.484 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-05/0.01368, allocations: 184.3 kB / 417.8 MB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.434e-05/0.01372, allocations: 184.2 kB / 418 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.602e-05/0.01376, allocations: 176.3 kB / 418.2 MB, free: 1.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.01389, allocations: 376.5 kB / 418.5 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.3e-05/0.01392, allocations: 104.9 kB / 418.6 MB, free: 1.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.455e-05/0.01394, allocations: 109 kB / 418.8 MB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-05/0.01398, allocations: 188.1 kB / 418.9 MB, free: 1.098 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.12e-05/0.01402, allocations: 176.3 kB / 419.1 MB, free: 0.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-05/0.01406, allocations: 184.2 kB / 419.3 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.695e-05/0.0141, allocations: 180.2 kB / 419.5 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.896e-05/0.01419, allocations: 303.8 kB / 419.8 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/0.01421, allocations: 113 kB / 419.9 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.932e-05/0.01427, allocations: 180.2 kB / 420 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.628e-05/0.01433, allocations: 112.9 kB / 420.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.01437, allocations: 176.3 kB / 420.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.0144, allocations: 104.9 kB / 420.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.78e-05/0.01442, allocations: 79.28 kB / 420.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01442, allocations: 0 / 420.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001581/0.01458, allocations: 7.984 kB / 420.5 MB, free: 15.43 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002468/0.01483, allocations: 0.7932 MB / 421.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.086e-05/0.01487, allocations: 11.94 kB / 421.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01487, allocations: 0 / 421.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.71e-07/0.01487, allocations: 0 / 421.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.0151, allocations: 463.6 kB / 421.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002572/0.01536, allocations: 181.9 kB / 422 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.394e-05/0.01539, allocations: 51.36 kB / 422 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.3e-05/0.01542, allocations: 11.92 kB / 422 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.287e-05/0.01543, allocations: 8.5 kB / 422 MB, free: 13.84 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01543, allocations: 0 / 422 MB, free: 13.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01426/0.02969, allocations: 1.678 MB / 423.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.112/7.141, allocations: 15.78 kB / 423.7 MB, free: 12.11 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_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_TestExamplesCalculator.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.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: 9.18925219681114]