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.001567/0.001567, allocations: 112.5 kB / 17.12 MB, free: 5.953 MB / 14.72 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.001898/0.001898, allocations: 204 kB / 20.09 MB, free: 3 MB / 14.72 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 1.487/1.487, allocations: 207.6 MB / 230.5 MB, free: 4.012 MB / 174.1 MB " [Timeout remaining time 178] 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.3528/0.3528, allocations: 44.23 MB / 326.6 MB, free: 6.832 MB / 254.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 67.89 kB / 462.2 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2516, allocations: 61 MB / 0.5109 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001547/0.2531, allocations: 0.4948 MB / 0.5114 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005107/0.2537, allocations: 257.1 kB / 0.5117 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.2537, allocations: 0 / 0.5117 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.2537, allocations: 0.9688 kB / 0.5117 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.889e-06/0.2537, allocations: 4 kB / 0.5117 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.254, allocations: 51.66 kB / 0.5117 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.261e-05/0.254, allocations: 2.312 kB / 0.5117 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.492e-05/0.2541, allocations: 1 kB / 0.5117 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.371e-05/0.2541, allocations: 5.266 kB / 0.5117 GB, free: 12.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.896e-05/0.2541, allocations: 0 / 0.5117 GB, free: 12.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.404e-06/0.2541, allocations: 0 / 0.5117 GB, free: 12.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.2542, allocations: 64.83 kB / 0.5118 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.552e-06/0.2542, allocations: 0 / 0.5118 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.769e-05/0.2542, allocations: 5.031 kB / 0.5118 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.2544, allocations: 56.02 kB / 0.5118 GB, free: 12.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2544, allocations: 5.344 kB / 0.5118 GB, free: 12.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2544, allocations: 0 / 0.5118 GB, free: 12.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.2544, allocations: 0 / 0.5118 GB, free: 12.56 MB / 382.1 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.0002291/0.2546, allocations: 354.2 kB / 0.5122 GB, free: 12.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2546, allocations: 13.11 kB / 0.5122 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.529e-05/0.2547, allocations: 38.67 kB / 0.5122 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.142e-05/0.2547, allocations: 9.953 kB / 0.5122 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.814e-05/0.2547, allocations: 160.4 kB / 0.5124 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.2547, allocations: 5.312 kB / 0.5124 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-06/0.2547, allocations: 1.469 kB / 0.5124 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.653e-05/0.2548, allocations: 32.45 kB / 0.5124 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.2548, allocations: 3.938 kB / 0.5124 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.2548, allocations: 1.094 kB / 0.5124 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.2548, allocations: 0 / 0.5124 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.544e-05/0.2548, allocations: 1 kB / 0.5124 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.833e-05/0.2549, allocations: 147.7 kB / 0.5126 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.141e-05/0.255, allocations: 23.64 kB / 0.5126 GB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.123e-05/0.255, allocations: 10.02 kB / 0.5126 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.255, allocations: 1.062 kB / 0.5126 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.255, allocations: 61.42 kB / 0.5127 GB, free: 11.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.255, allocations: 0 / 0.5127 GB, free: 11.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001456/0.2551, allocations: 70.48 kB / 0.5127 GB, free: 11.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.2552, allocations: 78.36 kB / 0.5128 GB, free: 11.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.999e-05/0.2552, allocations: 93.86 kB / 0.5129 GB, free: 11.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.721e-06/0.2552, allocations: 27.05 kB / 0.5129 GB, free: 11.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.237e-06/0.2552, allocations: 88.08 kB / 0.513 GB, free: 11.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.2552, allocations: 0 / 0.513 GB, free: 11.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/0.2552, allocations: 12.25 kB / 0.513 GB, free: 11.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.505e-05/0.2553, allocations: 311.8 kB / 0.5133 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.024e-05/0.2553, allocations: 4.859 kB / 0.5133 GB, free: 10.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-06/0.2553, allocations: 1.094 kB / 0.5133 GB, free: 10.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.094e-05/0.2553, allocations: 63.61 kB / 0.5134 GB, free: 10.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2553, allocations: 4.062 kB / 0.5134 GB, free: 10.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.014e-05/0.2554, allocations: 62.72 kB / 0.5134 GB, free: 10.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.2554, allocations: 35.25 kB / 0.5135 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2554, allocations: 3.938 kB / 0.5135 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.2554, allocations: 1.406 kB / 0.5135 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.2554, allocations: 0 / 0.5135 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.2554, allocations: 0 / 0.5135 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.228e-05/0.2554, allocations: 1.281 kB / 0.5135 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.2554, allocations: 0 / 0.5135 GB, free: 10.66 MB / 382.1 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 4.265e-05/0.2555, allocations: 138.3 kB / 0.5136 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-06/0.2555, allocations: 5.328 kB / 0.5136 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.388e-06/0.2555, allocations: 7.062 kB / 0.5136 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.2555, allocations: 3.938 kB / 0.5136 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2555, allocations: 1.438 kB / 0.5136 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.2555, allocations: 0 / 0.5136 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.416e-05/0.2556, allocations: 150.9 kB / 0.5138 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.2556, allocations: 0 / 0.5138 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.2556, allocations: 1 kB / 0.5138 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.2556, allocations: 0 / 0.5138 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.2556, allocations: 9.031 kB / 0.5138 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2556, allocations: 1.062 kB / 0.5138 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2556, allocations: 0 / 0.5138 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.254e-05/0.2556, allocations: 94.08 kB / 0.5139 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.508e-05/0.2556, allocations: 77.11 kB / 0.514 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.2557, allocations: 5.031 kB / 0.514 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-06/0.2557, allocations: 1.125 kB / 0.514 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-06/0.2557, allocations: 8.016 kB / 0.514 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.2557, allocations: 1.219 kB / 0.514 GB, free: 10.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.027e-05/0.2557, allocations: 75.28 kB / 0.514 GB, free: 10 MB / 382.1 MB Notification: Performance of sort global known variables: time 4e-08/0.2557, allocations: 1.281 kB / 0.514 GB, free: 10 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002252/0.2559, allocations: 23.12 kB / 0.5141 GB, free: 9.996 MB / 382.1 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.0006703/0.2566, allocations: 0.8062 MB / 0.5148 GB, free: 9.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.45e-05/0.2567, allocations: 66.94 kB / 0.5149 GB, free: 9.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2567, allocations: 0 / 0.5149 GB, free: 9.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.686e-05/0.2567, allocations: 58.7 kB / 0.515 GB, free: 9.113 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.2568, allocations: 3.281 kB / 0.515 GB, free: 9.113 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002317/0.257, allocations: 131.3 kB / 0.5151 GB, free: 8.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.812e-05/0.2571, allocations: 0.669 MB / 0.5158 GB, free: 8.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.52e-06/0.2571, allocations: 0 / 0.5158 GB, free: 8.262 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.088e-05/0.2571, allocations: 10.81 kB / 0.5158 GB, free: 8.254 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2571, allocations: 0 / 0.5158 GB, free: 8.254 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.2806, allocations: 1.616 MB / 0.5173 GB, free: 7.211 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.283/8.563, allocations: 2 kB / 0.5173 GB, free: 7.211 MB / 382.1 MB " [Timeout remaining time 651] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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: 11.37027976399986]