Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00133/0.00133, allocations: 107.6 kB / 21.19 MB, free: 0.6758 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.001602/0.001602, allocations: 213.7 kB / 24.48 MB, free: 3.98 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.857/1.857, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2274/0.2274, allocations: 46.97 MB / 361.6 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 67.91 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3099, allocations: 66.04 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006799/0.3167, allocations: 4.755 MB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003357/0.32, allocations: 1.573 MB / 0.568 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005652/0.3206, allocations: 20 kB / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003674/0.3243, allocations: 1.481 MB / 0.5695 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009156/0.3252, allocations: 317.6 kB / 0.5698 GB, free: 12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.3264, allocations: 0.4982 MB / 0.5703 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001044/0.3274, allocations: 0.7968 MB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.3285, allocations: 0.6338 MB / 0.5716 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005436/0.329, allocations: 354.7 kB / 0.572 GB, free: 9.703 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006137/0.3296, allocations: 470.1 kB / 0.5724 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.3297, allocations: 76 kB / 0.5725 GB, free: 9.168 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004653/0.3302, allocations: 191.9 kB / 0.5727 GB, free: 8.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.3304, allocations: 179.3 kB / 0.5729 GB, free: 8.805 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003654/0.3307, allocations: 338.4 kB / 0.5732 GB, free: 8.473 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.3321, allocations: 1.19 MB / 0.5743 GB, free: 7.281 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3321, allocations: 0 / 0.5743 GB, free: 7.281 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3321, allocations: 0 / 0.5743 GB, free: 7.281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.3321, allocations: 4 kB / 0.5744 GB, free: 7.277 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.003337/0.3354, allocations: 1.289 MB / 0.5756 GB, free: 5.957 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3355, allocations: 12.03 kB / 0.5756 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.3371, allocations: 232.2 kB / 0.5758 GB, free: 5.719 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.3373, allocations: 210 kB / 0.576 GB, free: 5.488 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.586e-05/0.3374, allocations: 74.38 kB / 0.5761 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.3376, allocations: 104.1 kB / 0.5762 GB, free: 5.312 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.3392, allocations: 0.9399 MB / 0.5771 GB, free: 4.355 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.639e-05/0.3393, allocations: 3.953 kB / 0.5771 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-05/0.3393, allocations: 44 kB / 0.5772 GB, free: 4.309 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.3394, allocations: 24 kB / 0.5772 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.3406, allocations: 0.7261 MB / 0.5779 GB, free: 3.555 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004483/0.3451, allocations: 2.716 MB / 0.5806 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.3467, allocations: 0.7711 MB / 0.5813 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004127/0.3471, allocations: 260.3 kB / 0.5816 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.3472, allocations: 32.3 kB / 0.5816 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.3472, allocations: 38.89 kB / 0.5816 GB, free: 15.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.865e-06/0.3472, allocations: 0 / 0.5816 GB, free: 15.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002722/0.35, allocations: 1.011 MB / 0.5826 GB, free: 14.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.3501, allocations: 144.5 kB / 0.5828 GB, free: 14.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004534/0.3505, allocations: 301.6 kB / 0.583 GB, free: 14.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.3506, allocations: 33.7 kB / 0.5831 GB, free: 14.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/0.3509, allocations: 415.8 kB / 0.5835 GB, free: 13.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/0.3511, allocations: 241.9 kB / 0.5837 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/0.3513, allocations: 146.6 kB / 0.5838 GB, free: 13.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.3515, allocations: 346.8 kB / 0.5842 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.3519, allocations: 201.9 kB / 0.5844 GB, free: 12.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005318/0.3524, allocations: 404.5 kB / 0.5848 GB, free: 12.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009189/0.3533, allocations: 0.6219 MB / 0.5854 GB, free: 11.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.3533, allocations: 8 kB / 0.5854 GB, free: 11.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001622/0.3549, allocations: 0.8773 MB / 0.5862 GB, free: 10.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.355, allocations: 8 kB / 0.5862 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.355, allocations: 8 kB / 0.5862 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006901/0.3557, allocations: 219.7 kB / 0.5864 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005141/0.3562, allocations: 147.7 kB / 0.5866 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006124/0.3623, allocations: 6.158 MB / 0.5926 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005409/0.3628, allocations: 83.39 kB / 0.5927 GB, free: 3.574 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.659e-05/0.3629, allocations: 36.12 kB / 0.5927 GB, free: 3.539 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.0003794/0.3633, allocations: 217.7 kB / 0.5929 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.3634, allocations: 51.64 kB / 0.593 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.3648, allocations: 0.6862 MB / 0.5936 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.3648, allocations: 8 kB / 0.5937 GB, free: 2.555 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.3648, allocations: 4 kB / 0.5937 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.3648, allocations: 3.984 kB / 0.5937 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.3674, allocations: 1.347 MB / 0.595 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.3674, allocations: 4 kB / 0.595 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.3677, allocations: 67.84 kB / 0.595 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005878/0.3683, allocations: 215.3 kB / 0.5952 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/0.3683, allocations: 27.86 kB / 0.5953 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0061/0.3744, allocations: 6.139 MB / 0.6013 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3744, allocations: 0 / 0.6013 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.3761, allocations: 1.194 MB / 0.6024 GB, free: 9.055 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.3762, allocations: 51.66 kB / 0.6025 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.483e-05/0.3763, allocations: 16.38 kB / 0.6025 GB, free: 8.988 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.3766, allocations: 16.06 kB / 0.6025 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.3768, allocations: 67.62 kB / 0.6026 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.3768, allocations: 23.94 kB / 0.6026 GB, free: 8.883 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002275/0.377, allocations: 193.1 kB / 0.6028 GB, free: 8.695 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.377, allocations: 0 / 0.6028 GB, free: 8.695 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001054/0.3781, allocations: 279.4 kB / 0.6031 GB, free: 8.422 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.0002662/0.3783, allocations: 143.1 kB / 0.6032 GB, free: 8.273 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.38, allocations: 1.041 MB / 0.6042 GB, free: 7.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.38, allocations: 0 / 0.6042 GB, free: 7.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009412/0.381, allocations: 0.7562 MB / 0.6049 GB, free: 6.371 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006634/0.3816, allocations: 50.97 kB / 0.605 GB, free: 6.324 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.3838, allocations: 1.272 MB / 0.6062 GB, free: 5.008 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.3842, allocations: 314.5 kB / 0.6065 GB, free: 4.672 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.3843, allocations: 51.42 kB / 0.6066 GB, free: 4.625 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3843, allocations: 0 / 0.6066 GB, free: 4.625 MB / 446.1 MB Notification: Performance of Templates: time 0.02295/0.4073, allocations: 19.92 MB / 0.626 GB, free: 0.6758 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 9.68152650797856]