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.0008578/0.0008578, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.001057/0.001057, allocations: 173.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.8136/0.8136, 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.1226/0.1226, allocations: 32.37 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.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.313e-06/1.313e-06, allocations: 0 / 406.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.307e-05/1.438e-05, allocations: 2.281 kB / 406.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001008/0.001022, allocations: 499 kB / 407.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.00342, allocations: 1.987 MB / 409.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.741e-05/0.003437, allocations: 3.938 kB / 409.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.003452, allocations: 0 / 409.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.751e-05/0.00347, allocations: 4 kB / 409.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009623/0.004432, allocations: 382.5 kB / 409.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.116e-05/0.004473, allocations: 4 kB / 409.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.004515, allocations: 4 kB / 409.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.374e-05/0.004549, allocations: 7.984 kB / 409.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007465/0.01201, allocations: 3.374 MB / 413.1 MB, free: 7.352 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.01203, allocations: 0 / 413.1 MB, free: 7.352 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.039e-05/0.0121, allocations: 15.97 kB / 413.1 MB, free: 7.336 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.736e-06/0.01211, allocations: 0 / 413.1 MB, free: 7.336 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.843e-05/0.01213, allocations: 0 / 413.1 MB, free: 7.336 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.01224, allocations: 15.94 kB / 413.1 MB, free: 7.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.01224, allocations: 0 / 413.1 MB, free: 7.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01224, allocations: 3.938 kB / 413.1 MB, free: 7.316 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.01225, allocations: 0 / 413.1 MB, free: 7.316 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.0002233/0.01247, allocations: 242.4 kB / 413.3 MB, free: 7.051 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.01251, allocations: 12.03 kB / 413.3 MB, free: 7.039 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/0.01255, allocations: 110 kB / 413.5 MB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.01271, allocations: 88.22 kB / 413.5 MB, free: 6.836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.762e-05/0.01279, allocations: 185.1 kB / 413.7 MB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/0.01283, allocations: 150.9 kB / 413.9 MB, free: 6.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.01287, allocations: 154.9 kB / 414 MB, free: 6.328 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.329e-05/0.01292, allocations: 105.3 kB / 414.1 MB, free: 6.219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.01294, allocations: 75.28 kB / 414.2 MB, free: 6.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/0.01299, allocations: 154.5 kB / 414.3 MB, free: 5.992 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/0.01302, allocations: 150.6 kB / 414.5 MB, free: 5.844 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.583e-05/0.01307, allocations: 158.5 kB / 414.6 MB, free: 5.688 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001965/0.01326, allocations: 413 kB / 415.1 MB, free: 5.242 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.395e-05/0.01333, allocations: 173.1 kB / 415.2 MB, free: 5.062 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/0.01335, allocations: 84.14 kB / 415.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.01337, allocations: 75.28 kB / 415.4 MB, free: 4.902 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.01341, allocations: 121.7 kB / 415.5 MB, free: 4.773 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 5.61e-07/0.01341, allocations: 0 / 415.5 MB, free: 4.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 5.48e-05/0.01347, allocations: 25.7 kB / 415.5 MB, free: 4.742 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.01352, allocations: 178.1 kB / 415.7 MB, free: 4.543 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.17e-05/0.0136, allocations: 93.86 kB / 415.8 MB, free: 4.441 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.0136, allocations: 25.7 kB / 415.8 MB, free: 4.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.167e-05/0.01363, allocations: 80.14 kB / 415.9 MB, free: 4.328 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.313e-06/0.01363, allocations: 128 / 415.9 MB, free: 4.328 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.717e-05/0.01364, allocations: 21.72 kB / 415.9 MB, free: 4.301 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.822e-05/0.01371, allocations: 314.8 kB / 416.2 MB, free: 3.984 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-06/0.01372, allocations: 0 / 416.2 MB, free: 3.984 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.036e-05/0.01375, allocations: 65.12 kB / 416.3 MB, free: 3.902 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.918e-05/0.01377, allocations: 75.28 kB / 416.4 MB, free: 3.828 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.516e-05/0.01378, allocations: 79.22 kB / 416.4 MB, free: 3.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.188e-05/0.01381, allocations: 29.7 kB / 416.5 MB, free: 3.715 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.01384, allocations: 83.22 kB / 416.5 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.01386, allocations: 75.28 kB / 416.6 MB, free: 3.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.004e-05/0.0139, allocations: 162.4 kB / 416.8 MB, free: 3.398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.704e-05/0.01391, allocations: 87.3 kB / 416.9 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.299e-05/0.01395, allocations: 158.5 kB / 417 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.214e-05/0.014, allocations: 79.28 kB / 417.1 MB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.01401, allocations: 75.28 kB / 417.2 MB, free: 3.004 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.687e-05/0.01409, allocations: 260.4 kB / 417.4 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.01413, allocations: 112.9 kB / 417.5 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/0.01416, allocations: 119.8 kB / 417.6 MB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.916e-05/0.0142, allocations: 180.2 kB / 417.8 MB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.806e-05/0.01424, allocations: 176.3 kB / 418 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.713e-05/0.01428, allocations: 180.3 kB / 418.2 MB, free: 1.949 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.01441, allocations: 384.4 kB / 418.5 MB, free: 1.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/0.01443, allocations: 105 kB / 418.6 MB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.01445, allocations: 109 kB / 418.8 MB, free: 1.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.823e-05/0.01449, allocations: 180.2 kB / 418.9 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/0.01453, allocations: 180.3 kB / 419.1 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.688e-05/0.01456, allocations: 184.2 kB / 419.3 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001426/0.01471, allocations: 176.3 kB / 419.5 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.01481, allocations: 307.8 kB / 419.8 MB, free: 248 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.577e-05/0.01483, allocations: 105 kB / 419.9 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.579e-05/0.01492, allocations: 188.1 kB / 420 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.088e-05/0.01497, allocations: 105 kB / 420.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.01501, allocations: 188.2 kB / 420.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.01503, allocations: 105 kB / 420.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.524e-05/0.01506, allocations: 75.28 kB / 420.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01506, allocations: 0 / 420.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000165/0.01522, allocations: 4 kB / 420.5 MB, free: 15.45 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.0003368/0.01556, allocations: 0.8047 MB / 421.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.681e-05/0.01561, allocations: 0 / 421.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01561, allocations: 0 / 421.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.11e-07/0.01561, allocations: 96 / 421.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.01587, allocations: 459.7 kB / 421.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.01616, allocations: 185.9 kB / 421.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.974e-05/0.0162, allocations: 59.3 kB / 422 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.116e-05/0.01622, allocations: 0 / 422 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.758e-05/0.01624, allocations: 12.44 kB / 422 MB, free: 13.86 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01624, allocations: 0 / 422 MB, free: 13.86 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0138/0.03004, allocations: 1.675 MB / 423.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.884/6.914, allocations: 11.91 kB / 423.7 MB, free: 12.12 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: 8.942555700428784]