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.0008917/0.0008916, allocations: 95.34 kB / 15.68 MB, free: 488 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.0009381/0.0009381, allocations: 177.9 kB / 16.57 MB, free: 6.379 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.426/1.426, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.3357/0.3357, allocations: 43.54 MB / 314.5 MB, free: 9.008 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.0004838/0.0004839, allocations: 20 kB / 383.9 MB, free: 8.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1252, allocations: 58.86 MB / 442.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004944/0.1302, allocations: 4.175 MB / 446.9 MB, free: 9.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003048/0.1333, allocations: 1.508 MB / 448.4 MB, free: 7.598 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00028/0.1336, allocations: 16 kB / 448.5 MB, free: 7.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005022/0.1341, allocations: 174.9 kB / 448.6 MB, free: 7.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006736/0.1348, allocations: 291.2 kB / 448.9 MB, free: 7.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.1359, allocations: 0.5493 MB / 449.5 MB, free: 6.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007092/0.1366, allocations: 0.5612 MB / 450 MB, free: 6.012 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002267/0.1389, allocations: 1.256 MB / 451.3 MB, free: 4.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000422/0.1393, allocations: 282.9 kB / 451.6 MB, free: 4.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004534/0.1398, allocations: 370.5 kB / 451.9 MB, free: 4.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.902e-05/0.1399, allocations: 36 kB / 452 MB, free: 4.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003905/0.1403, allocations: 139.9 kB / 452.1 MB, free: 3.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.1404, allocations: 131.4 kB / 452.2 MB, free: 3.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000233/0.1406, allocations: 173.3 kB / 452.4 MB, free: 3.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000848/0.1415, allocations: 0.8727 MB / 453.3 MB, free: 2.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.1415, allocations: 4 kB / 453.3 MB, free: 2.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1415, allocations: 0 / 453.3 MB, free: 2.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.1415, allocations: 3.938 kB / 453.3 MB, free: 2.719 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.002942/0.1445, allocations: 1.201 MB / 454.5 MB, free: 1.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1445, allocations: 8.031 kB / 454.5 MB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.1458, allocations: 234.8 kB / 454.7 MB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.1461, allocations: 262.5 kB / 455 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.1462, allocations: 78 kB / 455 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.1463, allocations: 96 kB / 455.1 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2242/0.3705, allocations: 0.9106 MB / 456 MB, free: 46.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.815e-05/0.3706, allocations: 5.938 kB / 456 MB, free: 46.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.727e-05/0.3707, allocations: 37.97 kB / 456.1 MB, free: 46.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.3708, allocations: 28.91 kB / 456.1 MB, free: 46.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.372, allocations: 0.72 MB / 456.8 MB, free: 46.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004271/0.3763, allocations: 3.952 MB / 460.8 MB, free: 44.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/0.3784, allocations: 3.361 MB / 464.1 MB, free: 40.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.969e-05/0.3785, allocations: 101.6 kB / 464.2 MB, free: 40.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.3785, allocations: 44.16 kB / 464.3 MB, free: 40.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 2.865e-06/0.3785, allocations: 3.938 kB / 464.3 MB, free: 40.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002284/0.3808, allocations: 1.315 MB / 465.6 MB, free: 40.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.3808, allocations: 140.8 kB / 465.7 MB, free: 39.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.3812, allocations: 319.7 kB / 466.1 MB, free: 39.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.3812, allocations: 38.11 kB / 466.1 MB, free: 39.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.3814, allocations: 397.4 kB / 466.5 MB, free: 39.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.3816, allocations: 229.2 kB / 466.7 MB, free: 39.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.3816, allocations: 18.41 kB / 466.7 MB, free: 39.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.3817, allocations: 351.6 kB / 467.1 MB, free: 39.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.382, allocations: 197.8 kB / 467.3 MB, free: 39.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.3824, allocations: 398.2 kB / 467.6 MB, free: 38.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.3828, allocations: 262.6 kB / 467.9 MB, free: 38.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.3828, allocations: 0 / 467.9 MB, free: 38.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001154/0.384, allocations: 0.8858 MB / 468.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.384, allocations: 5.781 kB / 468.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.384, allocations: 5.844 kB / 468.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005437/0.3846, allocations: 219.1 kB / 469 MB, free: 38.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.385, allocations: 141.6 kB / 469.2 MB, free: 38.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004086/0.3891, allocations: 6.316 MB / 475.5 MB, free: 32.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005098/0.3896, allocations: 85.34 kB / 475.6 MB, free: 32.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.041e-05/0.3897, allocations: 35.81 kB / 475.6 MB, free: 32.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004068/0.3901, allocations: 221.5 kB / 475.8 MB, free: 32.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.3903, allocations: 42.5 kB / 475.8 MB, free: 32.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.3913, allocations: 0.6925 MB / 476.5 MB, free: 31.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.3914, allocations: 6.125 kB / 476.5 MB, free: 31.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.3914, allocations: 6.281 kB / 476.6 MB, free: 31.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3914, allocations: 3.328 kB / 476.6 MB, free: 31.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.3934, allocations: 1.565 MB / 478.1 MB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3934, allocations: 7.938 kB / 478.1 MB, free: 30.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.3936, allocations: 64.27 kB / 478.2 MB, free: 30.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004278/0.3941, allocations: 218.2 kB / 478.4 MB, free: 30.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.3941, allocations: 14.38 kB / 478.4 MB, free: 30.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00375/0.3979, allocations: 6.289 MB / 484.7 MB, free: 24.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3979, allocations: 3.406 kB / 484.7 MB, free: 24.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.3992, allocations: 1.216 MB / 485.9 MB, free: 24.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.3993, allocations: 132.2 kB / 486.1 MB, free: 24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.855e-05/0.3993, allocations: 10.88 kB / 486.1 MB, free: 23.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.3997, allocations: 13.97 kB / 486.1 MB, free: 23.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.804e-05/0.3998, allocations: 60.8 kB / 486.1 MB, free: 23.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.3998, allocations: 24.53 kB / 486.2 MB, free: 23.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002112/0.4, allocations: 214.2 kB / 486.4 MB, free: 23.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4, allocations: 0 / 486.4 MB, free: 23.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001019/0.401, allocations: 271.2 kB / 486.6 MB, free: 23.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002114/0.4013, allocations: 138.2 kB / 486.8 MB, free: 23.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.4025, allocations: 1.075 MB / 487.8 MB, free: 22.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.4025, allocations: 2.328 kB / 487.8 MB, free: 22.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006653/0.4032, allocations: 0.7818 MB / 488.6 MB, free: 22.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.4036, allocations: 33.88 kB / 488.7 MB, free: 22.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.4055, allocations: 1.564 MB / 490.2 MB, free: 21.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.4059, allocations: 0.9241 MB / 491.2 MB, free: 20.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002565/0.4061, allocations: 70.77 kB / 491.2 MB, free: 20.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.913e-05/0.4062, allocations: 30.44 kB / 491.3 MB, free: 20.57 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4062, allocations: 0 / 491.3 MB, free: 20.57 MB / 382.1 MB Notification: Performance of Templates: time 0.01059/0.4168, allocations: 6.157 MB / 497.4 MB, free: 20.12 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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