Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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.0009447/0.0009447, 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.001089/0.001089, 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.8979/0.8979, 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.1377/0.1377, allocations: 32.37 MB / 269.6 MB, free: 14.97 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.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 406.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.831e-05, allocations: 5.516 kB / 406.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001374/0.001402, allocations: 491 kB / 407.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004852/0.001887, allocations: 264.9 kB / 407.6 MB, free: 12.81 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.00191, allocations: 0 / 407.6 MB, free: 12.81 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.001926, allocations: 0 / 407.6 MB, free: 12.81 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.162e-06/0.001932, allocations: 0 / 407.6 MB, free: 12.81 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.002241, allocations: 59.69 kB / 407.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.538e-05/0.002296, allocations: 0 / 407.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.671e-05/0.002343, allocations: 3.984 kB / 407.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.12e-05/0.002374, allocations: 0 / 407.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.724e-05/0.002401, allocations: 4 kB / 407.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.002413, allocations: 0 / 407.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.00255, allocations: 63.89 kB / 407.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.878e-06/0.00256, allocations: 7.984 kB / 407.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.069e-05/0.002581, allocations: 0 / 407.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.002722, allocations: 55.88 kB / 407.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.002726, allocations: 7.984 kB / 407.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.002728, allocations: 0 / 407.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.002732, allocations: 0 / 407.8 MB, free: 12.61 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.0002747/0.003007, allocations: 283.9 kB / 408 MB, free: 12.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.003052, allocations: 12.03 kB / 408 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.612e-05/0.003078, allocations: 30.75 kB / 408.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.003107, allocations: 0.9375 kB / 408.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.887e-05/0.003166, allocations: 105.8 kB / 408.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.003178, allocations: 8.297 kB / 408.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-06/0.003186, allocations: 8.312 kB / 408.2 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.417e-05/0.00328, allocations: 55.95 kB / 408.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.003287, allocations: 192 / 408.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.003295, allocations: 384 / 408.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.003302, allocations: 8.125 kB / 408.3 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.522e-05/0.003327, allocations: 29.69 kB / 408.3 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001005/0.003427, allocations: 116.8 kB / 408.4 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.507e-05/0.003472, allocations: 52.25 kB / 408.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.907e-05/0.003492, allocations: 34.56 kB / 408.5 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/0.003499, allocations: 4.062 kB / 408.5 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.003533, allocations: 60.25 kB / 408.5 MB, free: 11.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.003534, allocations: 0 / 408.5 MB, free: 11.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001704/0.003704, allocations: 114.8 kB / 408.7 MB, free: 11.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.003742, allocations: 81.05 kB / 408.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.754e-05/0.00377, allocations: 89.86 kB / 408.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.003779, allocations: 33.69 kB / 408.9 MB, free: 11.28 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.779e-05/0.003797, allocations: 80.14 kB / 408.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.003811, allocations: 3.953 kB / 408.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.003835, allocations: 21.84 kB / 409 MB, free: 11.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.932e-05/0.003904, allocations: 310.8 kB / 409.3 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.00392, allocations: 29.64 kB / 409.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.262e-05/0.003933, allocations: 25.7 kB / 409.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.736e-05/0.00397, allocations: 60.27 kB / 409.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.003972, allocations: 0 / 409.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.678e-05/0.004029, allocations: 93.09 kB / 409.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.004055, allocations: 40.3 kB / 409.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.00406, allocations: 0 / 409.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.00407, allocations: 96 / 409.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.044e-06/0.004072, allocations: 8 kB / 409.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.004078, allocations: 3.938 kB / 409.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.177e-05/0.00409, allocations: 0 / 409.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.004096, allocations: 0 / 409.5 MB, free: 10.55 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 6.214e-05/0.004158, allocations: 143.5 kB / 409.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-06/0.004162, allocations: 0 / 409.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.866e-06/0.004171, allocations: 3 kB / 409.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.004172, allocations: 4 kB / 409.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.004177, allocations: 3.938 kB / 409.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.00418, allocations: 0 / 409.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.053e-05/0.00424, allocations: 124.8 kB / 409.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.004241, allocations: 0 / 409.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-06/0.004242, allocations: 4 kB / 409.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-07/0.004243, allocations: 0 / 409.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.004249, allocations: 3.938 kB / 409.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.004249, allocations: 0 / 409.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.004251, allocations: 3.938 kB / 409.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.496e-05/0.004326, allocations: 116.5 kB / 409.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-06/0.004331, allocations: 3.938 kB / 409.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.004342, allocations: 4 kB / 409.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.739e-06/0.004346, allocations: 4.031 kB / 409.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/0.004358, allocations: 3.938 kB / 409.9 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.00436, allocations: 3.938 kB / 409.9 MB, free: 10.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.852e-05/0.004379, allocations: 75.28 kB / 410 MB, free: 9.965 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004379, allocations: 0 / 410 MB, free: 9.965 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001639/0.004543, allocations: 27.92 kB / 410 MB, free: 9.938 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.0005633/0.005106, allocations: 0.8299 MB / 410.9 MB, free: 9.105 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.487e-05/0.005201, allocations: 106.8 kB / 411 MB, free: 8.977 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.005203, allocations: 4 kB / 411 MB, free: 8.973 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.724e-05/0.00523, allocations: 89.03 kB / 411.1 MB, free: 8.867 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.244e-05/0.005323, allocations: 7.875 kB / 411.1 MB, free: 8.859 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.005573, allocations: 144.3 kB / 411.2 MB, free: 8.672 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.559e-05/0.005609, allocations: 55.36 kB / 411.3 MB, free: 8.598 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.699e-06/0.005614, allocations: 0 / 411.3 MB, free: 8.598 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.465e-05/0.005628, allocations: 12.62 kB / 411.3 MB, free: 8.586 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.005629, allocations: 0 / 411.3 MB, free: 8.586 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01451/0.02014, allocations: 2.301 MB / 413.6 MB, free: 6.266 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.024/7.044, allocations: 0 / 413.6 MB, free: 6.266 MB / 346.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_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_TestInternal.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.csv: Error: Error opening file: ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,result Variables in the result: [Calling sys.exit(0), Time elapsed: 9.0879758996889]