Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.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.001656/0.001656, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.001981/0.001981, allocations: 209.6 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.235/0.235, allocations: 44.9 MB / 355.1 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002026/0.002026, allocations: 63.91 kB / 499.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1166, allocations: 65.41 MB / 0.5517 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005268/0.1218, allocations: 3.536 MB / 0.5552 GB, free: 6.617 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.1235, allocations: 0.8412 MB / 0.556 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.1237, allocations: 12 kB / 0.556 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.1239, allocations: 71.22 kB / 0.5561 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.1242, allocations: 130.8 kB / 0.5562 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.1246, allocations: 127.8 kB / 0.5563 GB, free: 5.434 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006054/0.1252, allocations: 0.5257 MB / 0.5569 GB, free: 4.906 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003306/0.1255, allocations: 185.8 kB / 0.557 GB, free: 4.719 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002524/0.1258, allocations: 211.3 kB / 0.5572 GB, free: 4.512 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.1261, allocations: 231 kB / 0.5575 GB, free: 4.285 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.031e-05/0.1262, allocations: 52 kB / 0.5575 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.861e-05/0.1263, allocations: 52 kB / 0.5576 GB, free: 4.184 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.1264, allocations: 115.5 kB / 0.5577 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.1266, allocations: 246.9 kB / 0.5579 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006416/0.1272, allocations: 0.5602 MB / 0.5584 GB, free: 3.266 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1272, allocations: 0 / 0.5584 GB, free: 3.266 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1272, allocations: 0 / 0.5584 GB, free: 3.266 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1273, allocations: 0 / 0.5584 GB, free: 3.266 MB / 414.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.001406/0.1287, allocations: 0.7715 MB / 0.5592 GB, free: 2.445 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1287, allocations: 8.031 kB / 0.5592 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.1288, allocations: 86.7 kB / 0.5593 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.326e-05/0.1289, allocations: 60.61 kB / 0.5593 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000489/0.1294, allocations: 313.6 kB / 0.5596 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.915e-05/0.1294, allocations: 37.38 kB / 0.5597 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.45e-05/0.1295, allocations: 48.38 kB / 0.5597 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008849/0.1304, allocations: 467 kB / 0.5602 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1304, allocations: 4 kB / 0.5602 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.498e-05/0.1304, allocations: 20 kB / 0.5602 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.1305, allocations: 12 kB / 0.5602 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007922/0.1313, allocations: 319.8 kB / 0.5605 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002627/0.1339, allocations: 1.678 MB / 0.5621 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006137/0.1345, allocations: 237 kB / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.1348, allocations: 129.6 kB / 0.5625 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1349, allocations: 4.219 kB / 0.5625 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.1349, allocations: 38.5 kB / 0.5625 GB, free: 14.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.693e-06/0.1349, allocations: 0 / 0.5625 GB, free: 14.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.003189/0.1381, allocations: 1.346 MB / 0.5639 GB, free: 13.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/0.1382, allocations: 85.02 kB / 0.5639 GB, free: 13.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.1385, allocations: 266.5 kB / 0.5642 GB, free: 12.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.1385, allocations: 29.7 kB / 0.5642 GB, free: 12.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.1387, allocations: 256.1 kB / 0.5645 GB, free: 12.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.1388, allocations: 134.9 kB / 0.5646 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.1389, allocations: 82.02 kB / 0.5647 GB, free: 12.45 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1391, allocations: 346.8 kB / 0.565 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.1394, allocations: 104.8 kB / 0.5651 GB, free: 12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/0.1398, allocations: 220.3 kB / 0.5653 GB, free: 11.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006889/0.1405, allocations: 336.8 kB / 0.5656 GB, free: 11.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1405, allocations: 0 / 0.5656 GB, free: 11.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009265/0.1414, allocations: 419.4 kB / 0.566 GB, free: 10.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.1414, allocations: 10.5 kB / 0.566 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.1414, allocations: 4 kB / 0.566 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/0.1416, allocations: 36.77 kB / 0.5661 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005194/0.1421, allocations: 119.8 kB / 0.5662 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.1434, allocations: 1.438 MB / 0.5676 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.1436, allocations: 24.05 kB / 0.5676 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.1436, allocations: 12 kB / 0.5676 GB, free: 9.18 MB / 430.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.0002121/0.1439, allocations: 169.7 kB / 0.5678 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.389e-05/0.1439, allocations: 31.81 kB / 0.5678 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.686e-05/0.144, allocations: 34.17 kB / 0.5679 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.144, allocations: 4 kB / 0.5679 GB, free: 8.934 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.144, allocations: 8 kB / 0.5679 GB, free: 8.926 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.144, allocations: 4 kB / 0.5679 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.1453, allocations: 0.7097 MB / 0.5686 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1453, allocations: 4 kB / 0.5686 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004564/0.1457, allocations: 91.94 kB / 0.5687 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-05/0.1458, allocations: 28.78 kB / 0.5687 GB, free: 8.023 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.1458, allocations: 12 kB / 0.5687 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.1471, allocations: 1.422 MB / 0.5701 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.1471, allocations: 4.031 kB / 0.5701 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.1482, allocations: 0.6049 MB / 0.5707 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.1484, allocations: 124.9 kB / 0.5708 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.1484, allocations: 11.98 kB / 0.5708 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.1487, allocations: 31.86 kB / 0.5708 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.916e-05/0.1488, allocations: 23.91 kB / 0.5709 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.1488, allocations: 12 kB / 0.5709 GB, free: 5.598 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001966/0.149, allocations: 182 kB / 0.571 GB, free: 5.422 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.149, allocations: 0 / 0.571 GB, free: 5.422 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004916/0.1495, allocations: 92 kB / 0.5711 GB, free: 5.332 MB / 430.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.001486/0.151, allocations: 1.154 MB / 0.5723 GB, free: 4.145 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000911/0.1519, allocations: 386.3 kB / 0.5726 GB, free: 3.754 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1519, allocations: 0.75 kB / 0.5726 GB, free: 3.754 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004667/0.1524, allocations: 254.3 kB / 0.5729 GB, free: 3.492 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.1529, allocations: 40.77 kB / 0.5729 GB, free: 3.453 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005487/0.1584, allocations: 3.487 MB / 0.5763 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/0.1589, allocations: 0.8112 MB / 0.5771 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001612/0.159, allocations: 38.95 kB / 0.5771 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.1592, allocations: 139.4 kB / 0.5773 GB, free: 14.76 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1592, allocations: 0 / 0.5773 GB, free: 14.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03497/0.1942, allocations: 6.59 MB / 0.5837 GB, free: 8.324 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.77, allocations: 10.33 kB / 0.5837 GB, free: 8.316 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Magnetic.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_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable converter.Phi in file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable converter.Phi from file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv failed! Error: Could not read variable leakageWithCoefficient.port_p.Phi in file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable leakageWithCoefficient.port_p.Phi from file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.302221846301109]