Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 110.4 kB / 17.78 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 187.1 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2076/0.2076, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 67.88 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3608, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006571/0.3674, allocations: 5.309 MB / 0.5236 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003348/0.3708, allocations: 1.579 MB / 0.5251 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000976/0.3718, allocations: 17.38 kB / 0.5252 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003938/0.3757, allocations: 1.595 MB / 0.5267 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.3771, allocations: 305.2 kB / 0.527 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.3794, allocations: 0.6783 MB / 0.5277 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002089/0.3815, allocations: 0.8002 MB / 0.5285 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001887/0.3834, allocations: 0.7332 MB / 0.5292 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009077/0.3843, allocations: 344 kB / 0.5295 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.3854, allocations: 461.4 kB / 0.5299 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002461/0.3857, allocations: 74.56 kB / 0.53 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008353/0.3865, allocations: 190.8 kB / 0.5302 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002452/0.3868, allocations: 174.3 kB / 0.5304 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008562/0.3876, allocations: 427.7 kB / 0.5308 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.3899, allocations: 1.156 MB / 0.5319 GB, free: 10.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3899, allocations: 0 / 0.5319 GB, free: 10.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3899, allocations: 5.125 kB / 0.5319 GB, free: 10.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.973e-05/0.39, allocations: 0 / 0.5319 GB, free: 10.08 MB / 398.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.006204/0.3962, allocations: 1.343 MB / 0.5332 GB, free: 9.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.28e-05/0.3963, allocations: 13.84 kB / 0.5332 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004551/0.3968, allocations: 152 kB / 0.5334 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002373/0.3992, allocations: 227.3 kB / 0.5336 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006154/0.3998, allocations: 266.3 kB / 0.5338 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.4, allocations: 73.5 kB / 0.5339 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003024/0.4003, allocations: 109.3 kB / 0.534 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002782/0.4031, allocations: 0.9219 MB / 0.5349 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.319e-05/0.4032, allocations: 6.25 kB / 0.5349 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.4033, allocations: 40.19 kB / 0.535 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.535e-05/0.4033, allocations: 24.19 kB / 0.535 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.4054, allocations: 0.72 MB / 0.5357 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008775/0.4142, allocations: 3.907 MB / 0.5395 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004877/0.4192, allocations: 3.395 MB / 0.5428 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007751/0.42, allocations: 296 kB / 0.5431 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001675/0.4202, allocations: 92.95 kB / 0.5432 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.4204, allocations: 46.36 kB / 0.5432 GB, free: 100 kB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 6.452e-06/0.4204, allocations: 1.344 kB / 0.5432 GB, free: 100 kB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.004424/0.4248, allocations: 1.327 MB / 0.5445 GB, free: 15.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.425, allocations: 134.9 kB / 0.5447 GB, free: 15.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006839/0.4257, allocations: 320 kB / 0.545 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/0.4257, allocations: 35.95 kB / 0.545 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000404/0.4262, allocations: 394.1 kB / 0.5454 GB, free: 14.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002986/0.4265, allocations: 228.2 kB / 0.5456 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003721/0.4268, allocations: 149.3 kB / 0.5457 GB, free: 14.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003197/0.4272, allocations: 355 kB / 0.5461 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005912/0.4278, allocations: 197.5 kB / 0.5463 GB, free: 13.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007781/0.4286, allocations: 400.9 kB / 0.5466 GB, free: 13.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.4299, allocations: 0.6199 MB / 0.5472 GB, free: 12.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/0.43, allocations: 1.094 kB / 0.5472 GB, free: 12.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002423/0.4324, allocations: 0.8807 MB / 0.5481 GB, free: 12.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.4325, allocations: 11.94 kB / 0.5481 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001189/0.4326, allocations: 11.98 kB / 0.5481 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.4336, allocations: 215.4 kB / 0.5483 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000678/0.4343, allocations: 135.8 kB / 0.5485 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008317/0.4427, allocations: 6.709 MB / 0.555 GB, free: 4.559 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008398/0.4435, allocations: 87.11 kB / 0.5551 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.4437, allocations: 28 kB / 0.5551 GB, free: 4.445 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.0005852/0.4443, allocations: 227.4 kB / 0.5553 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/0.4446, allocations: 47.5 kB / 0.5554 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/0.4464, allocations: 0.6909 MB / 0.5561 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.4464, allocations: 8 kB / 0.5561 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/0.4464, allocations: 4 kB / 0.5561 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.4464, allocations: 3.984 kB / 0.5561 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004093/0.4505, allocations: 1.561 MB / 0.5576 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.4506, allocations: 4 kB / 0.5576 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003658/0.451, allocations: 63.92 kB / 0.5577 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007198/0.4517, allocations: 219.2 kB / 0.5579 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/0.4518, allocations: 19.97 kB / 0.5579 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008667/0.4604, allocations: 6.686 MB / 0.5644 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.4605, allocations: 3.938 kB / 0.5644 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/0.463, allocations: 1.191 MB / 0.5656 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.4632, allocations: 128.5 kB / 0.5657 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.4634, allocations: 12 kB / 0.5657 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005589/0.4639, allocations: 15.98 kB / 0.5657 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.4641, allocations: 60.12 kB / 0.5658 GB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.4642, allocations: 19.98 kB / 0.5658 GB, free: 8.773 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003444/0.4645, allocations: 210 kB / 0.566 GB, free: 8.566 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4645, allocations: 4 kB / 0.566 GB, free: 8.562 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001618/0.4662, allocations: 279.1 kB / 0.5663 GB, free: 8.289 MB / 430.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.001897/0.4681, allocations: 1.77 MB / 0.568 GB, free: 6.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001744/0.4698, allocations: 1.084 MB / 0.5691 GB, free: 5.344 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4698, allocations: 0 / 0.5691 GB, free: 5.344 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009328/0.4708, allocations: 0.7718 MB / 0.5698 GB, free: 4.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007128/0.4715, allocations: 44.5 kB / 0.5699 GB, free: 4.477 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007045/0.4786, allocations: 5.139 MB / 0.5749 GB, free: 15.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/0.4791, allocations: 0.9072 MB / 0.5758 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000248/0.4794, allocations: 68.53 kB / 0.5758 GB, free: 14.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/0.4796, allocations: 227.4 kB / 0.5761 GB, free: 13.84 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4797, allocations: 0 / 0.5761 GB, free: 13.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04408/0.5237, allocations: 11.91 MB / 0.5877 GB, free: 2.117 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.53, allocations: 0.7344 kB / 0.5877 GB, free: 2.117 MB / 446.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches