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.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.001356/0.001356, allocations: 119.6 kB / 20.44 MB, free: 1.297 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.001506/0.001506, allocations: 214.5 kB / 23.74 MB, free: 4.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.541/1.541, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2271/0.2271, allocations: 44.91 MB / 358.8 MB, free: 6.305 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_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"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.003021/0.003021, allocations: 59.91 kB / 0.4931 GB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3179, allocations: 65.48 MB / 0.557 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006996/0.3249, allocations: 5.366 MB / 0.5623 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.3279, allocations: 1.674 MB / 0.5639 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002578/0.3281, allocations: 16 kB / 0.5639 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003488/0.3316, allocations: 1.602 MB / 0.5655 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000772/0.3324, allocations: 313.7 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.3335, allocations: 0.5217 MB / 0.5663 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009089/0.3344, allocations: 0.8046 MB / 0.5671 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.3354, allocations: 0.6407 MB / 0.5677 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004503/0.3358, allocations: 354.7 kB / 0.568 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005784/0.3364, allocations: 466.2 kB / 0.5685 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-05/0.3365, allocations: 72 kB / 0.5686 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004165/0.3369, allocations: 203.8 kB / 0.5688 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.3371, allocations: 175.3 kB / 0.5689 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003667/0.3375, allocations: 421.9 kB / 0.5693 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.3388, allocations: 1.175 MB / 0.5705 GB, free: 9.945 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3388, allocations: 4 kB / 0.5705 GB, free: 9.941 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3388, allocations: 3.938 kB / 0.5705 GB, free: 9.938 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.3388, allocations: 0 / 0.5705 GB, free: 9.938 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.003263/0.3421, allocations: 1.3 MB / 0.5717 GB, free: 8.605 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.3421, allocations: 12.03 kB / 0.5718 GB, free: 8.594 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001732/0.3423, allocations: 152.4 kB / 0.5719 GB, free: 8.438 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.3438, allocations: 236.2 kB / 0.5721 GB, free: 8.207 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.3441, allocations: 199.7 kB / 0.5723 GB, free: 7.988 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.501e-05/0.3442, allocations: 74.38 kB / 0.5724 GB, free: 7.914 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.3443, allocations: 99.94 kB / 0.5725 GB, free: 7.816 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.3458, allocations: 0.9321 MB / 0.5734 GB, free: 6.867 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.584e-05/0.3459, allocations: 11.88 kB / 0.5734 GB, free: 6.855 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.736e-05/0.3459, allocations: 40 kB / 0.5734 GB, free: 6.816 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.346, allocations: 28 kB / 0.5735 GB, free: 6.789 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.3472, allocations: 0.7262 MB / 0.5742 GB, free: 6.059 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005261/0.3525, allocations: 3.68 MB / 0.5778 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.3541, allocations: 0.7863 MB / 0.5785 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/0.3545, allocations: 258.8 kB / 0.5788 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.316e-05/0.3546, allocations: 28.28 kB / 0.5788 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.3546, allocations: 50.83 kB / 0.5789 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.244e-06/0.3546, allocations: 0 / 0.5789 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.002666/0.3573, allocations: 1.015 MB / 0.5799 GB, free: 15.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.3574, allocations: 136.5 kB / 0.58 GB, free: 15.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003941/0.3578, allocations: 316.1 kB / 0.5803 GB, free: 15.42 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.3578, allocations: 37.7 kB / 0.5803 GB, free: 15.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002881/0.3581, allocations: 411.8 kB / 0.5807 GB, free: 14.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.3584, allocations: 238 kB / 0.5809 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.3586, allocations: 154.5 kB / 0.5811 GB, free: 14.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3587, allocations: 350.7 kB / 0.5814 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/0.3591, allocations: 205.9 kB / 0.5816 GB, free: 14.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000528/0.3596, allocations: 400.6 kB / 0.582 GB, free: 13.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009142/0.3606, allocations: 0.6259 MB / 0.5826 GB, free: 12.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3606, allocations: 0 / 0.5826 GB, free: 12.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001569/0.3621, allocations: 0.8815 MB / 0.5835 GB, free: 11.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.3622, allocations: 8 kB / 0.5835 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.3622, allocations: 4 kB / 0.5835 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006648/0.3628, allocations: 223.4 kB / 0.5837 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004907/0.3633, allocations: 143.7 kB / 0.5838 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006259/0.3696, allocations: 6.299 MB / 0.59 GB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004952/0.3701, allocations: 83.39 kB / 0.5901 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.165e-05/0.3701, allocations: 32 kB / 0.5901 GB, free: 4.688 MB / 430.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.0003425/0.3705, allocations: 229.5 kB / 0.5903 GB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.3706, allocations: 47.72 kB / 0.5904 GB, free: 4.406 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.372, allocations: 0.6901 MB / 0.591 GB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.372, allocations: 8 kB / 0.591 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.372, allocations: 4 kB / 0.591 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.372, allocations: 7.984 kB / 0.5911 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002617/0.3746, allocations: 1.526 MB / 0.5925 GB, free: 2.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3746, allocations: 4.281 kB / 0.5926 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.3749, allocations: 71.91 kB / 0.5926 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005428/0.3754, allocations: 215.2 kB / 0.5928 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/0.3754, allocations: 15.98 kB / 0.5928 GB, free: 1.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00601/0.3814, allocations: 6.297 MB / 0.599 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3815, allocations: 4.031 kB / 0.599 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.3831, allocations: 1.191 MB / 0.6002 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.3833, allocations: 51.66 kB / 0.6002 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.52e-05/0.3833, allocations: 12 kB / 0.6002 GB, free: 9.738 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/0.3836, allocations: 12 kB / 0.6002 GB, free: 9.727 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.3837, allocations: 63.77 kB / 0.6003 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.3838, allocations: 16.06 kB / 0.6003 GB, free: 9.648 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002669/0.384, allocations: 219.1 kB / 0.6005 GB, free: 9.434 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.384, allocations: 0 / 0.6005 GB, free: 9.434 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000986/0.385, allocations: 283.3 kB / 0.6008 GB, free: 9.156 MB / 446.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.002202/0.3872, allocations: 1.769 MB / 0.6025 GB, free: 7.344 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001701/0.3889, allocations: 1.048 MB / 0.6035 GB, free: 6.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/0.3889, allocations: 4.062 kB / 0.6035 GB, free: 6.246 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009745/0.3899, allocations: 0.7482 MB / 0.6043 GB, free: 5.445 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007171/0.3906, allocations: 52.7 kB / 0.6043 GB, free: 5.395 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007618/0.3983, allocations: 5.124 MB / 0.6093 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006236/0.3989, allocations: 0.9227 MB / 0.6102 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002431/0.3991, allocations: 64.53 kB / 0.6103 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/0.3994, allocations: 231.4 kB / 0.6105 GB, free: 14.75 MB / 462.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3994, allocations: 4 kB / 0.6105 GB, free: 14.75 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06272/0.4621, allocations: 12.54 MB / 0.6228 GB, free: 2.363 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/12.91, allocations: 7.922 kB / 0.6228 GB, free: 2.355 MB / 462.1 MB " [Timeout remaining time 647] (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 --stepSize=0.001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.869541011052206]