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.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.001707/0.001707, allocations: 113.2 kB / 17.13 MB, free: 5.949 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.002172/0.002172, allocations: 191.7 kB / 20.08 MB, free: 3.012 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.644/1.644, allocations: 207.6 MB / 230.5 MB, free: 4.039 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.3529/0.3529, allocations: 44.24 MB / 326.6 MB, free: 6.785 MB / 254.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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 75.88 kB / 462.2 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3288, allocations: 60.99 MB / 0.5109 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005733/0.3345, allocations: 5.312 MB / 0.5161 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003033/0.3375, allocations: 1.63 MB / 0.5177 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000799/0.3383, allocations: 19.25 kB / 0.5177 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003166/0.3415, allocations: 1.597 MB / 0.5193 GB, free: 6.422 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.3426, allocations: 301.7 kB / 0.5195 GB, free: 6.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.3441, allocations: 0.6899 MB / 0.5202 GB, free: 5.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009768/0.345, allocations: 0.8087 MB / 0.521 GB, free: 4.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008431/0.3459, allocations: 0.5572 MB / 0.5216 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003577/0.3462, allocations: 334.7 kB / 0.5219 GB, free: 3.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004048/0.3466, allocations: 462.2 kB / 0.5223 GB, free: 3.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.3467, allocations: 80 kB / 0.5224 GB, free: 3.188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003936/0.3471, allocations: 183.9 kB / 0.5226 GB, free: 3.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.222e-05/0.3472, allocations: 175.3 kB / 0.5227 GB, free: 2.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002525/0.3475, allocations: 429.9 kB / 0.5231 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.3485, allocations: 1.158 MB / 0.5243 GB, free: 1.258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3485, allocations: 4 kB / 0.5243 GB, free: 1.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3485, allocations: 0 / 0.5243 GB, free: 1.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.3485, allocations: 0 / 0.5243 GB, free: 1.254 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003089/0.3516, allocations: 1.368 MB / 0.5256 GB, free: 15.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.3517, allocations: 11.89 kB / 0.5256 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001883/0.3519, allocations: 152.4 kB / 0.5258 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001427/0.3533, allocations: 232.2 kB / 0.526 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.3536, allocations: 263.8 kB / 0.5262 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.93e-05/0.3537, allocations: 74.38 kB / 0.5263 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.3539, allocations: 103.9 kB / 0.5264 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.3557, allocations: 0.9398 MB / 0.5273 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.888e-05/0.3557, allocations: 3.953 kB / 0.5273 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.47e-05/0.3558, allocations: 40 kB / 0.5274 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/0.3558, allocations: 24 kB / 0.5274 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.3572, allocations: 0.7221 MB / 0.5281 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006309/0.3635, allocations: 3.91 MB / 0.5319 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003341/0.3668, allocations: 3.327 MB / 0.5352 GB, free: 5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004233/0.3673, allocations: 256.5 kB / 0.5354 GB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.3674, allocations: 97.42 kB / 0.5355 GB, free: 4.625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.3674, allocations: 42.88 kB / 0.5355 GB, free: 4.574 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.775e-06/0.3674, allocations: 0 / 0.5355 GB, free: 4.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.002934/0.3704, allocations: 1.323 MB / 0.5368 GB, free: 3.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.3705, allocations: 140.5 kB / 0.537 GB, free: 2.996 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004426/0.3709, allocations: 318.8 kB / 0.5373 GB, free: 2.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.371, allocations: 37.7 kB / 0.5373 GB, free: 2.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/0.3713, allocations: 407.8 kB / 0.5377 GB, free: 2.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.3715, allocations: 238 kB / 0.5379 GB, free: 1.992 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.3717, allocations: 154.6 kB / 0.5381 GB, free: 1.836 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.3719, allocations: 350.7 kB / 0.5384 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/0.3722, allocations: 201.9 kB / 0.5386 GB, free: 1.285 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005403/0.3728, allocations: 396.6 kB / 0.539 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009566/0.3737, allocations: 0.6233 MB / 0.5396 GB, free: 116 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3737, allocations: 0 / 0.5396 GB, free: 116 kB / 398.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001749/0.3755, allocations: 0.8735 MB / 0.5404 GB, free: 15.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.3755, allocations: 8.5 kB / 0.5405 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.3755, allocations: 4 kB / 0.5405 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000803/0.3763, allocations: 227.2 kB / 0.5407 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006619/0.377, allocations: 139.8 kB / 0.5408 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006481/0.3835, allocations: 6.71 MB / 0.5474 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005726/0.384, allocations: 83.36 kB / 0.5474 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.016e-05/0.3841, allocations: 43.97 kB / 0.5475 GB, free: 7.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.0003324/0.3844, allocations: 221.7 kB / 0.5477 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.3846, allocations: 43.72 kB / 0.5477 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.3859, allocations: 0.6834 MB / 0.5484 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3859, allocations: 8 kB / 0.5484 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.3859, allocations: 8 kB / 0.5484 GB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3859, allocations: 7.922 kB / 0.5484 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002505/0.3884, allocations: 1.559 MB / 0.5499 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3884, allocations: 0 / 0.5499 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.3886, allocations: 67.91 kB / 0.55 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005573/0.3892, allocations: 219.2 kB / 0.5502 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.3892, allocations: 12 kB / 0.5502 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006504/0.3957, allocations: 6.698 MB / 0.5568 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3957, allocations: 0 / 0.5568 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.3976, allocations: 1.179 MB / 0.5579 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/0.3979, allocations: 128.7 kB / 0.558 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.546e-05/0.3979, allocations: 15.94 kB / 0.5581 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.3983, allocations: 16.06 kB / 0.5581 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.3985, allocations: 71.8 kB / 0.5581 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.3985, allocations: 16 kB / 0.5582 GB, free: 11.78 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003705/0.3989, allocations: 213.9 kB / 0.5584 GB, free: 11.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3989, allocations: 0 / 0.5584 GB, free: 11.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001081/0.3999, allocations: 275.4 kB / 0.5586 GB, free: 11.3 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.002269/0.4022, allocations: 1.759 MB / 0.5603 GB, free: 9.504 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.404, allocations: 1.037 MB / 0.5614 GB, free: 8.418 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.404, allocations: 0 / 0.5614 GB, free: 8.418 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.405, allocations: 0.7642 MB / 0.5621 GB, free: 7.602 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007553/0.4058, allocations: 52.5 kB / 0.5622 GB, free: 7.551 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00855/0.4143, allocations: 5.118 MB / 0.5671 GB, free: 2.152 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007087/0.415, allocations: 0.9111 MB / 0.568 GB, free: 1.215 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002961/0.4153, allocations: 68.53 kB / 0.5681 GB, free: 1.148 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/0.4156, allocations: 227.4 kB / 0.5683 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of SimCode: time 1.503e-06/0.4156, allocations: 0 / 0.5683 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07184/0.4875, allocations: 11.84 MB / 0.5799 GB, free: 5.074 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.23, allocations: 4.688 kB / 0.5799 GB, free: 5.07 MB / 446.1 MB " [Timeout remaining time 649] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.275680342689157]