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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 116.8 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 189.2 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 249.8 MB, free: 3.723 MB / 190.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.22/0.22, allocations: 44.92 MB / 349.6 MB, free: 1.727 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 70.91 kB / 491.8 MB, free: 30.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1109, allocations: 64.25 MB / 0.543 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004998/0.1159, allocations: 3.529 MB / 0.5464 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1175, allocations: 0.8062 MB / 0.5472 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.1177, allocations: 8 kB / 0.5472 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.1179, allocations: 75.22 kB / 0.5473 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.1182, allocations: 126.8 kB / 0.5474 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.1186, allocations: 127.8 kB / 0.5475 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005722/0.1191, allocations: 0.5179 MB / 0.548 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.1195, allocations: 181.8 kB / 0.5482 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.1197, allocations: 219.2 kB / 0.5484 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.12, allocations: 234.9 kB / 0.5487 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.675e-05/0.1201, allocations: 52 kB / 0.5487 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.219e-05/0.1202, allocations: 48 kB / 0.5487 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.1203, allocations: 107.7 kB / 0.5488 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.1206, allocations: 250.8 kB / 0.5491 GB, free: 13.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006518/0.1212, allocations: 0.5524 MB / 0.5496 GB, free: 13.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1212, allocations: 0 / 0.5496 GB, free: 13.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1212, allocations: 0 / 0.5496 GB, free: 13.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.1212, allocations: 0 / 0.5496 GB, free: 13.28 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.001364/0.1226, allocations: 0.7715 MB / 0.5504 GB, free: 12.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1226, allocations: 12.03 kB / 0.5504 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.1228, allocations: 86.7 kB / 0.5505 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.017e-05/0.1228, allocations: 56.61 kB / 0.5505 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004982/0.1233, allocations: 321.6 kB / 0.5508 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-05/0.1234, allocations: 41.38 kB / 0.5509 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.286e-05/0.1235, allocations: 56.23 kB / 0.5509 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008449/0.1243, allocations: 459.1 kB / 0.5514 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1243, allocations: 8 kB / 0.5514 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.1244, allocations: 20 kB / 0.5514 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.1244, allocations: 12 kB / 0.5514 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007239/0.1251, allocations: 323.8 kB / 0.5517 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002767/0.1279, allocations: 1.674 MB / 0.5533 GB, free: 9.227 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007318/0.1286, allocations: 221 kB / 0.5536 GB, free: 8.992 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003706/0.129, allocations: 137.6 kB / 0.5537 GB, free: 8.852 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.129, allocations: 0 / 0.5537 GB, free: 8.852 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.1291, allocations: 46.48 kB / 0.5537 GB, free: 8.797 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.425e-06/0.1291, allocations: 0 / 0.5537 GB, free: 8.797 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003611/0.1327, allocations: 1.341 MB / 0.555 GB, free: 7.336 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.824e-05/0.1328, allocations: 81.11 kB / 0.5551 GB, free: 7.238 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003448/0.1331, allocations: 262.6 kB / 0.5554 GB, free: 6.973 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.1331, allocations: 29.7 kB / 0.5554 GB, free: 6.938 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.1334, allocations: 268.1 kB / 0.5557 GB, free: 6.668 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.1335, allocations: 123 kB / 0.5558 GB, free: 6.547 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.1336, allocations: 82.08 kB / 0.5559 GB, free: 6.457 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.1338, allocations: 342.8 kB / 0.5562 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.1341, allocations: 104.8 kB / 0.5563 GB, free: 6.012 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/0.1345, allocations: 216.6 kB / 0.5565 GB, free: 5.762 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006638/0.1351, allocations: 338.7 kB / 0.5568 GB, free: 5.391 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.1351, allocations: 4 kB / 0.5568 GB, free: 5.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008966/0.136, allocations: 421.4 kB / 0.5572 GB, free: 4.969 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.136, allocations: 4 kB / 0.5572 GB, free: 4.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.1361, allocations: 4 kB / 0.5572 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001681/0.1362, allocations: 40.7 kB / 0.5573 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/0.1367, allocations: 115.9 kB / 0.5574 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.1382, allocations: 1.438 MB / 0.5588 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.1384, allocations: 24.05 kB / 0.5588 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.1385, allocations: 16 kB / 0.5588 GB, free: 3.188 MB / 414.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.0002267/0.1387, allocations: 169.7 kB / 0.559 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-05/0.1388, allocations: 27.81 kB / 0.559 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.663e-05/0.1388, allocations: 38.17 kB / 0.559 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.1388, allocations: 7.938 kB / 0.559 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1388, allocations: 0 / 0.559 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.1389, allocations: 7.984 kB / 0.5591 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.1401, allocations: 0.7153 MB / 0.5598 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1401, allocations: 0 / 0.5598 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/0.1405, allocations: 95.98 kB / 0.5598 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.949e-05/0.1406, allocations: 32.86 kB / 0.5599 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.1406, allocations: 12 kB / 0.5599 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.1418, allocations: 1.418 MB / 0.5613 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1418, allocations: 0 / 0.5613 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.1429, allocations: 0.6078 MB / 0.5619 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.143, allocations: 124.9 kB / 0.562 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.1431, allocations: 4 kB / 0.562 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.1434, allocations: 27.92 kB / 0.562 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.1434, allocations: 27.91 kB / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.1434, allocations: 12 kB / 0.5621 GB, free: 15.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001992/0.1436, allocations: 182 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1436, allocations: 0 / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004837/0.1441, allocations: 92 kB / 0.5623 GB, free: 15.34 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.001443/0.1456, allocations: 1.15 MB / 0.5634 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008877/0.1465, allocations: 390.4 kB / 0.5638 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1465, allocations: 0.75 kB / 0.5638 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004171/0.1469, allocations: 250.4 kB / 0.564 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.1474, allocations: 44.52 kB / 0.5641 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005568/0.153, allocations: 3.497 MB / 0.5675 GB, free: 9.789 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/0.1535, allocations: 0.8113 MB / 0.5683 GB, free: 8.949 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001819/0.1537, allocations: 30.97 kB / 0.5683 GB, free: 8.914 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.1539, allocations: 139.4 kB / 0.5685 GB, free: 8.777 MB / 430.1 MB Notification: Performance of SimCode: time 9.01e-07/0.1539, allocations: 4 kB / 0.5685 GB, free: 8.773 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03961/0.1935, allocations: 6.587 MB / 0.5749 GB, free: 2.336 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.84, allocations: 1.266 kB / 0.5749 GB, free: 2.336 MB / 430.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --stepSize=0.00300043 --timeout=50 --tolerance=1e-05 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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: 13.942885976750404]