Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.001554/0.001554, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.002003/0.002003, allocations: 224.8 kB / 23 MB, free: 4.969 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.612/1.612, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.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.2312/0.2312, allocations: 44.26 MB / 330.4 MB, free: 9.301 MB / 270.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.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",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.003282/0.003282, allocations: 71.89 kB / 467.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1267, allocations: 61.04 MB / 0.5162 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007037/0.1337, allocations: 4.708 MB / 0.5208 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003201/0.1369, allocations: 1.546 MB / 0.5223 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005748/0.1375, allocations: 23.94 kB / 0.5223 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003837/0.1413, allocations: 1.474 MB / 0.5237 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.1424, allocations: 309.6 kB / 0.524 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.1436, allocations: 0.4946 MB / 0.5245 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.1448, allocations: 0.8047 MB / 0.5253 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.146, allocations: 0.6275 MB / 0.5259 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005038/0.1465, allocations: 342.7 kB / 0.5262 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006232/0.1471, allocations: 406.2 kB / 0.5266 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.1472, allocations: 76 kB / 0.5267 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005099/0.1477, allocations: 187.9 kB / 0.5269 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.1479, allocations: 171.3 kB / 0.527 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003519/0.1482, allocations: 350.4 kB / 0.5274 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.1496, allocations: 1.156 MB / 0.5285 GB, free: 10.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.1496, allocations: 4 kB / 0.5285 GB, free: 10.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1496, allocations: 0 / 0.5285 GB, free: 10.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.1496, allocations: 3.938 kB / 0.5285 GB, free: 10.45 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003504/0.1531, allocations: 1.289 MB / 0.5298 GB, free: 9.133 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.1531, allocations: 8.031 kB / 0.5298 GB, free: 9.125 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001885/0.1533, allocations: 152.4 kB / 0.5299 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.1547, allocations: 236.1 kB / 0.5301 GB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.155, allocations: 202 kB / 0.5303 GB, free: 8.516 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.337e-05/0.1551, allocations: 74.38 kB / 0.5304 GB, free: 8.441 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.1552, allocations: 103.9 kB / 0.5305 GB, free: 8.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.1568, allocations: 0.9243 MB / 0.5314 GB, free: 7.398 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.034e-05/0.1569, allocations: 15.94 kB / 0.5314 GB, free: 7.383 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.96e-05/0.157, allocations: 40 kB / 0.5315 GB, free: 7.344 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.157, allocations: 24 kB / 0.5315 GB, free: 7.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.1583, allocations: 0.7182 MB / 0.5322 GB, free: 6.605 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004982/0.1633, allocations: 2.821 MB / 0.5349 GB, free: 3.641 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.1649, allocations: 0.7583 MB / 0.5357 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004048/0.1653, allocations: 260.4 kB / 0.5359 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.489e-05/0.1654, allocations: 16.31 kB / 0.5359 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.1654, allocations: 50.77 kB / 0.536 GB, free: 2.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.786e-06/0.1654, allocations: 0 / 0.536 GB, free: 2.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.002869/0.1683, allocations: 1.02 MB / 0.537 GB, free: 1.484 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.103e-05/0.1684, allocations: 136.6 kB / 0.5371 GB, free: 1.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004543/0.1688, allocations: 339.8 kB / 0.5374 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.1689, allocations: 37.7 kB / 0.5375 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/0.1692, allocations: 411.8 kB / 0.5379 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.1694, allocations: 238 kB / 0.5381 GB, free: 300 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.1697, allocations: 142.6 kB / 0.5382 GB, free: 152 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.2123/0.382, allocations: 359.9 kB / 0.5386 GB, free: 27.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006686/0.3826, allocations: 193 kB / 0.5388 GB, free: 27.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004812/0.3831, allocations: 400.1 kB / 0.5391 GB, free: 27.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007735/0.3839, allocations: 0.6188 MB / 0.5397 GB, free: 27.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.3839, allocations: 2.781 kB / 0.5397 GB, free: 27.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00149/0.3854, allocations: 0.8706 MB / 0.5406 GB, free: 27.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.3854, allocations: 6.812 kB / 0.5406 GB, free: 27.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.3854, allocations: 7.5 kB / 0.5406 GB, free: 27.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006227/0.386, allocations: 222.5 kB / 0.5408 GB, free: 27.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.3865, allocations: 148 kB / 0.541 GB, free: 27.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004645/0.3911, allocations: 6.249 MB / 0.5471 GB, free: 21.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005143/0.3917, allocations: 88.31 kB / 0.5471 GB, free: 21.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/0.3917, allocations: 36 kB / 0.5472 GB, free: 21.9 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003069/0.392, allocations: 223.3 kB / 0.5474 GB, free: 21.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.3921, allocations: 47.06 kB / 0.5474 GB, free: 21.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.3933, allocations: 0.6813 MB / 0.5481 GB, free: 21.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.3933, allocations: 10.31 kB / 0.5481 GB, free: 21.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.3933, allocations: 5 kB / 0.5481 GB, free: 21.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.3933, allocations: 4.531 kB / 0.5481 GB, free: 21.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.3955, allocations: 1.451 MB / 0.5495 GB, free: 20.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3955, allocations: 1.906 kB / 0.5495 GB, free: 20.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.3958, allocations: 70.81 kB / 0.5496 GB, free: 20.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005068/0.3963, allocations: 215 kB / 0.5498 GB, free: 20.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.3963, allocations: 17.27 kB / 0.5498 GB, free: 20.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00423/0.4005, allocations: 6.232 MB / 0.5559 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4005, allocations: 1.734 kB / 0.5559 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.4021, allocations: 1.187 MB / 0.5571 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.4022, allocations: 57.97 kB / 0.5571 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.4022, allocations: 12.58 kB / 0.5571 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.4026, allocations: 14.03 kB / 0.5572 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.4027, allocations: 59.14 kB / 0.5572 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.4028, allocations: 18.16 kB / 0.5572 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002777/0.4031, allocations: 212.7 kB / 0.5574 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4031, allocations: 0 / 0.5574 GB, free: 13.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001144/0.4042, allocations: 276.2 kB / 0.5577 GB, free: 13.79 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001803/0.406, allocations: 1.775 MB / 0.5594 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001643/0.4077, allocations: 1.04 MB / 0.5605 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4077, allocations: 1.5 kB / 0.5605 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008018/0.4085, allocations: 0.7622 MB / 0.5612 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006296/0.4091, allocations: 41.94 kB / 0.5612 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007306/0.4164, allocations: 5.141 MB / 0.5663 GB, free: 7.805 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.4169, allocations: 314.9 kB / 0.5666 GB, free: 7.703 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003191/0.4172, allocations: 67.11 kB / 0.5666 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/0.4175, allocations: 228.7 kB / 0.5668 GB, free: 7.5 MB / 414.1 MB Notification: Performance of SimCode: time 1.783e-06/0.4175, allocations: 0 / 0.5668 GB, free: 7.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05379/0.4713, allocations: 12.59 MB / 0.5791 GB, free: 3.578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.44, allocations: 9.234 kB / 0.5791 GB, free: 3.57 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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: 15.557420266792178]