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) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009592/0.0009591, allocations: 103.1 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009275/0.0009276, allocations: 184.4 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.937/1.937, allocations: 205.4 MB / 223.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3931/0.3931, allocations: 43.58 MB / 315 MB, free: 8.797 MB / 254.1 MB 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.0005078/0.0005079, allocations: 12 kB / 384.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1252, allocations: 58.86 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005574/0.1308, allocations: 4.793 MB / 448.2 MB, free: 7.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003427/0.1343, allocations: 1.597 MB / 449.8 MB, free: 6.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003667/0.1347, allocations: 20 kB / 449.9 MB, free: 6.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006513/0.1354, allocations: 247 kB / 450.1 MB, free: 5.988 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007643/0.1361, allocations: 250.4 kB / 450.3 MB, free: 5.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.1375, allocations: 0.6466 MB / 451 MB, free: 5.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008668/0.1384, allocations: 0.758 MB / 451.7 MB, free: 4.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002662/0.1411, allocations: 1.413 MB / 453.2 MB, free: 2.883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004228/0.1415, allocations: 290.7 kB / 453.4 MB, free: 2.598 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005405/0.1421, allocations: 406.2 kB / 453.8 MB, free: 2.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.139e-05/0.1421, allocations: 40 kB / 453.9 MB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004357/0.1426, allocations: 143.9 kB / 454 MB, free: 2.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.1427, allocations: 135.3 kB / 454.1 MB, free: 1.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003534/0.1431, allocations: 407.6 kB / 454.5 MB, free: 1.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.1442, allocations: 1.094 MB / 455.6 MB, free: 392 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1443, allocations: 0 / 455.6 MB, free: 392 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1443, allocations: 0 / 455.6 MB, free: 392 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1443, allocations: 0 / 455.6 MB, free: 392 kB / 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.2177/0.362, allocations: 1.202 MB / 456.8 MB, free: 46.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.362, allocations: 9.25 kB / 456.9 MB, free: 46.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.3634, allocations: 223.8 kB / 457.1 MB, free: 46.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.3636, allocations: 263.9 kB / 457.3 MB, free: 45.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.3637, allocations: 77.72 kB / 457.4 MB, free: 45.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.3638, allocations: 98.22 kB / 457.5 MB, free: 45.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.3652, allocations: 0.9396 MB / 458.4 MB, free: 45.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/0.3652, allocations: 6.844 kB / 458.4 MB, free: 45.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.408e-05/0.3653, allocations: 43.56 kB / 458.5 MB, free: 45.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.3653, allocations: 23.84 kB / 458.5 MB, free: 45.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.3663, allocations: 0.7213 MB / 459.2 MB, free: 45.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003748/0.3701, allocations: 3.961 MB / 463.2 MB, free: 43.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.3718, allocations: 3.376 MB / 466.6 MB, free: 40.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.3722, allocations: 289 kB / 466.9 MB, free: 40.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.212e-05/0.3723, allocations: 98.75 kB / 466.9 MB, free: 40.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.3723, allocations: 41.05 kB / 467 MB, free: 40.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 2.755e-06/0.3723, allocations: 2.906 kB / 467 MB, free: 40.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002674/0.375, allocations: 1.347 MB / 468.3 MB, free: 39.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.3751, allocations: 141.5 kB / 468.5 MB, free: 39.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004236/0.3755, allocations: 314.3 kB / 468.8 MB, free: 39.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.3756, allocations: 36.52 kB / 468.8 MB, free: 39.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.3758, allocations: 399.9 kB / 469.2 MB, free: 39.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.3759, allocations: 229.6 kB / 469.4 MB, free: 38.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.975e-05/0.376, allocations: 70.77 kB / 469.5 MB, free: 38.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.3761, allocations: 351.7 kB / 469.8 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.3764, allocations: 204.7 kB / 470 MB, free: 38.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004126/0.3769, allocations: 404 kB / 470.4 MB, free: 38.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007174/0.3776, allocations: 0.628 MB / 471.1 MB, free: 37.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.3776, allocations: 3.938 kB / 471.1 MB, free: 37.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00116/0.3788, allocations: 0.8867 MB / 472 MB, free: 37.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3788, allocations: 9.188 kB / 472 MB, free: 37.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3788, allocations: 3.062 kB / 472 MB, free: 37.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005245/0.3793, allocations: 226.5 kB / 472.2 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/0.3798, allocations: 138.1 kB / 472.3 MB, free: 37.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00381/0.3836, allocations: 6.246 MB / 478.6 MB, free: 31.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004547/0.3841, allocations: 88.44 kB / 478.7 MB, free: 31.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.3841, allocations: 32.94 kB / 478.7 MB, free: 31.25 MB / 382.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.0002801/0.3844, allocations: 223.2 kB / 478.9 MB, free: 31.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.3845, allocations: 45.22 kB / 479 MB, free: 31.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.3855, allocations: 0.6914 MB / 479.6 MB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.3856, allocations: 9.531 kB / 479.7 MB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3856, allocations: 3.688 kB / 479.7 MB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3856, allocations: 10.28 kB / 479.7 MB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.3874, allocations: 1.567 MB / 481.2 MB, free: 29.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3875, allocations: 3.609 kB / 481.2 MB, free: 29.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.3877, allocations: 72.44 kB / 481.3 MB, free: 29.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004189/0.3881, allocations: 222 kB / 481.5 MB, free: 29.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.3881, allocations: 17.33 kB / 481.5 MB, free: 29.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003327/0.3915, allocations: 6.223 MB / 487.8 MB, free: 23.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.3915, allocations: 3.938 kB / 487.8 MB, free: 23.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.3927, allocations: 1.183 MB / 489 MB, free: 23.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.569e-05/0.3928, allocations: 135.6 kB / 489.1 MB, free: 22.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.752e-05/0.3928, allocations: 11.28 kB / 489.1 MB, free: 22.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.3932, allocations: 14.56 kB / 489.1 MB, free: 22.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-05/0.3933, allocations: 58.17 kB / 489.2 MB, free: 22.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.3933, allocations: 16.59 kB / 489.2 MB, free: 22.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000216/0.3935, allocations: 214.8 kB / 489.4 MB, free: 22.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3935, allocations: 0 / 489.4 MB, free: 22.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001003/0.3945, allocations: 268.3 kB / 489.7 MB, free: 22.76 MB / 382.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.0002284/0.3948, allocations: 146.6 kB / 489.8 MB, free: 22.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001256/0.396, allocations: 1.088 MB / 490.9 MB, free: 21.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.396, allocations: 0 / 490.9 MB, free: 21.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006161/0.3967, allocations: 0.7831 MB / 491.7 MB, free: 21.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006585/0.3973, allocations: 51.52 kB / 491.7 MB, free: 21.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.3991, allocations: 1.64 MB / 493.4 MB, free: 20.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.3995, allocations: 0.913 MB / 494.3 MB, free: 19.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002753/0.3998, allocations: 62.95 kB / 494.3 MB, free: 19.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.185e-05/0.3998, allocations: 32.31 kB / 494.4 MB, free: 19.49 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3999, allocations: 4 kB / 494.4 MB, free: 19.48 MB / 382.1 MB Notification: Performance of Templates: time 0.01087/0.4107, allocations: 6.325 MB / 0.489 GB, free: 19.04 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches