Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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.001827/0.001827, allocations: 112.6 kB / 17.13 MB, free: 5.918 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.002246/0.002246, allocations: 212.3 kB / 20.1 MB, free: 2.961 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.597/1.597, allocations: 207.6 MB / 230.5 MB, free: 4.023 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.3743/0.3743, allocations: 44.24 MB / 326.6 MB, free: 6.828 MB / 254.1 MB " [Timeout remaining time 179] 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.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",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.002574/0.002574, allocations: 71.89 kB / 462.2 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3383, allocations: 61 MB / 0.5109 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.003844/0.3422, allocations: 3.446 MB / 0.5143 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.3436, allocations: 0.8364 MB / 0.5151 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/0.3439, allocations: 12.72 kB / 0.5151 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.3441, allocations: 80.19 kB / 0.5152 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.3443, allocations: 123.4 kB / 0.5153 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.3447, allocations: 137.9 kB / 0.5155 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005408/0.3453, allocations: 0.5131 MB / 0.516 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000307/0.3456, allocations: 182.4 kB / 0.5161 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003537/0.3459, allocations: 218.5 kB / 0.5163 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.3462, allocations: 233.8 kB / 0.5166 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.937e-05/0.3463, allocations: 49.16 kB / 0.5166 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.276e-05/0.3464, allocations: 48.31 kB / 0.5167 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.255e-05/0.3464, allocations: 117.3 kB / 0.5168 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.3466, allocations: 249.1 kB / 0.517 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005859/0.3472, allocations: 0.5597 MB / 0.5175 GB, free: 8.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3472, allocations: 0 / 0.5175 GB, free: 8.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3472, allocations: 0 / 0.5175 GB, free: 8.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.3473, allocations: 3.938 kB / 0.5175 GB, free: 8.035 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001266/0.3485, allocations: 0.7669 MB / 0.5183 GB, free: 7.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.3486, allocations: 15.89 kB / 0.5183 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.3487, allocations: 90.7 kB / 0.5184 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.3488, allocations: 48.66 kB / 0.5184 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005258/0.3493, allocations: 333.4 kB / 0.5188 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.3493, allocations: 33.38 kB / 0.5188 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.261e-05/0.3494, allocations: 44.38 kB / 0.5188 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007475/0.3502, allocations: 471.1 kB / 0.5193 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.3502, allocations: 0 / 0.5193 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/0.3502, allocations: 16 kB / 0.5193 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.3502, allocations: 16 kB / 0.5193 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006172/0.3508, allocations: 323.8 kB / 0.5196 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.3528, allocations: 1.674 MB / 0.5213 GB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004856/0.3533, allocations: 229 kB / 0.5215 GB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.3536, allocations: 129.6 kB / 0.5216 GB, free: 3.785 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.3536, allocations: 4 kB / 0.5216 GB, free: 3.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.3537, allocations: 34.56 kB / 0.5216 GB, free: 3.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.493e-06/0.3537, allocations: 0 / 0.5216 GB, free: 3.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.00263/0.3563, allocations: 1.353 MB / 0.523 GB, free: 2.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.3563, allocations: 85.11 kB / 0.523 GB, free: 2.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.3565, allocations: 262.5 kB / 0.5233 GB, free: 1.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.3566, allocations: 33.7 kB / 0.5233 GB, free: 1.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.3567, allocations: 260.1 kB / 0.5236 GB, free: 1.598 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.084e-05/0.3567, allocations: 130.9 kB / 0.5237 GB, free: 1.469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.757e-05/0.3568, allocations: 78.08 kB / 0.5238 GB, free: 1.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.963e-05/0.3569, allocations: 338.8 kB / 0.5241 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.3571, allocations: 116.8 kB / 0.5242 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.3574, allocations: 208.3 kB / 0.5244 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/0.3579, allocations: 342.6 kB / 0.5247 GB, free: 320 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3579, allocations: 4 kB / 0.5247 GB, free: 316 kB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007818/0.3587, allocations: 414.2 kB / 0.5251 GB, free: 15.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.3587, allocations: 16.05 kB / 0.5251 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3588, allocations: 0 / 0.5251 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/0.3589, allocations: 36.78 kB / 0.5252 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004923/0.3594, allocations: 119.9 kB / 0.5253 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.3608, allocations: 1.438 MB / 0.5267 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.361, allocations: 19.98 kB / 0.5267 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.3611, allocations: 16.06 kB / 0.5267 GB, free: 14.09 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002308/0.3613, allocations: 169.8 kB / 0.5269 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.172e-05/0.3614, allocations: 35.75 kB / 0.5269 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.387e-05/0.3615, allocations: 34.17 kB / 0.527 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3615, allocations: 4 kB / 0.527 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3615, allocations: 0 / 0.527 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.3615, allocations: 7.984 kB / 0.527 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.3628, allocations: 0.7108 MB / 0.5277 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3628, allocations: 0 / 0.5277 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004479/0.3632, allocations: 95.88 kB / 0.5278 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.3633, allocations: 32.84 kB / 0.5278 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.3634, allocations: 11.98 kB / 0.5278 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.3646, allocations: 1.434 MB / 0.5292 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3646, allocations: 0 / 0.5292 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.3657, allocations: 0.609 MB / 0.5298 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.3659, allocations: 124.9 kB / 0.5299 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.3659, allocations: 8 kB / 0.5299 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.3662, allocations: 27.86 kB / 0.53 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.3662, allocations: 23.97 kB / 0.53 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.3663, allocations: 12 kB / 0.53 GB, free: 10.51 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002167/0.3665, allocations: 186 kB / 0.5302 GB, free: 10.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3665, allocations: 0 / 0.5302 GB, free: 10.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005203/0.367, allocations: 92 kB / 0.5303 GB, free: 10.24 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001637/0.3686, allocations: 1.139 MB / 0.5314 GB, free: 9.066 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.3697, allocations: 386.4 kB / 0.5317 GB, free: 8.676 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.3697, allocations: 4 kB / 0.5317 GB, free: 8.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004508/0.3702, allocations: 239.3 kB / 0.532 GB, free: 8.426 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005517/0.3707, allocations: 46.44 kB / 0.532 GB, free: 8.379 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005813/0.3765, allocations: 3.495 MB / 0.5354 GB, free: 4.699 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005344/0.3771, allocations: 0.8151 MB / 0.5362 GB, free: 3.859 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002016/0.3773, allocations: 38.95 kB / 0.5363 GB, free: 3.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.3775, allocations: 139.4 kB / 0.5364 GB, free: 3.684 MB / 398.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3775, allocations: 0 / 0.5364 GB, free: 3.684 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.4148, allocations: 6.489 MB / 0.5427 GB, free: 13.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.91, allocations: 12.66 kB / 0.5427 GB, free: 13.17 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00300043 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable converter.Phi in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable converter.Phi from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv failed! Error: Could not read variable leakageWithCoefficient.port_p.Phi in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable leakageWithCoefficient.port_p.Phi from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.129708508000476]