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.001552/0.001552, allocations: 83.75 kB / 21.19 MB, free: 3.375 MB / 18.57 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.001877/0.001877, allocations: 165.4 kB / 24.56 MB, free: 8 kB / 18.57 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.071/1.071, allocations: 177.2 MB / 205 MB, free: 5.281 MB / 186.7 MB " [Timeout remaining time 179] 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.2733/0.2733, allocations: 34.25 MB / 295.7 MB, free: 0.6328 MB / 266.7 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 1.703e-06/1.703e-06, allocations: 3.938 kB / 378 MB, free: 2.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.506e-05, allocations: 2.312 kB / 378 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005025/0.00505, allocations: 5.27 MB / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.007321, allocations: 1.615 MB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.007534, allocations: 24 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.009388, allocations: 1.688 MB / 386.6 MB, free: 9.984 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008664/0.01025, allocations: 333.3 kB / 387 MB, free: 9.656 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007721/0.01103, allocations: 0.5062 MB / 387.5 MB, free: 9.148 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006045/0.01163, allocations: 0.8393 MB / 388.3 MB, free: 8.305 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007074/0.01234, allocations: 0.639 MB / 388.9 MB, free: 7.652 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004602/0.0128, allocations: 0.4989 MB / 389.4 MB, free: 7.152 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003362/0.01313, allocations: 359 kB / 389.8 MB, free: 6.801 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.456e-05/0.01321, allocations: 76 kB / 389.9 MB, free: 6.727 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003351/0.01354, allocations: 195.7 kB / 390.1 MB, free: 6.535 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.01365, allocations: 179.3 kB / 390.2 MB, free: 6.359 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.01385, allocations: 283.3 kB / 390.5 MB, free: 6.082 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007237/0.01457, allocations: 0.7627 MB / 391.3 MB, free: 5.316 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.01458, allocations: 4 kB / 391.3 MB, free: 5.312 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01458, allocations: 0 / 391.3 MB, free: 5.312 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.01459, allocations: 0 / 391.3 MB, free: 5.312 MB / 362.7 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.002003/0.01659, allocations: 1.42 MB / 392.7 MB, free: 3.852 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.01664, allocations: 12.03 kB / 392.7 MB, free: 3.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.01765, allocations: 387.8 kB / 393.1 MB, free: 3.461 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.01782, allocations: 212.6 kB / 393.3 MB, free: 3.227 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.319e-05/0.01787, allocations: 74.31 kB / 393.4 MB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.01798, allocations: 104.3 kB / 393.5 MB, free: 3.055 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.01911, allocations: 0.7491 MB / 394.2 MB, free: 2.277 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.01914, allocations: 11.88 kB / 394.2 MB, free: 2.266 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.01919, allocations: 40 kB / 394.3 MB, free: 2.227 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.01921, allocations: 24 kB / 394.3 MB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005972/0.0198, allocations: 423.6 kB / 394.7 MB, free: 1.789 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002844/0.02265, allocations: 2.866 MB / 397.6 MB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009572/0.02361, allocations: 0.7987 MB / 398.4 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.02382, allocations: 206.6 kB / 398.6 MB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.625e-05/0.02389, allocations: 32.3 kB / 398.6 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.02392, allocations: 49.52 kB / 398.7 MB, free: 13.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 2.415e-06/0.02392, allocations: 0 / 398.7 MB, free: 13.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.001386/0.0253, allocations: 0.8679 MB / 399.5 MB, free: 12.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.02535, allocations: 136.5 kB / 399.7 MB, free: 12.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.02559, allocations: 348 kB / 400 MB, free: 12.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.02561, allocations: 37.7 kB / 400 MB, free: 12.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.02579, allocations: 462.5 kB / 400.5 MB, free: 11.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.02591, allocations: 242 kB / 400.7 MB, free: 11.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.02606, allocations: 164.2 kB / 400.9 MB, free: 11.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0006281/0.02668, allocations: 0.5235 MB / 401.4 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.02685, allocations: 113.9 kB / 401.5 MB, free: 10.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.02715, allocations: 406.1 kB / 401.9 MB, free: 10.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005065/0.02766, allocations: 0.5585 MB / 402.5 MB, free: 9.516 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.02766, allocations: 3.938 kB / 402.5 MB, free: 9.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008454/0.02851, allocations: 0.7573 MB / 403.2 MB, free: 8.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.02853, allocations: 8 kB / 403.2 MB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.02854, allocations: 4 kB / 403.2 MB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006692/0.02921, allocations: 254.5 kB / 403.5 MB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.02947, allocations: 143.8 kB / 403.6 MB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004112/0.03358, allocations: 7.775 MB / 411.4 MB, free: 44 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.03387, allocations: 79.48 kB / 411.5 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.03391, allocations: 39.98 kB / 411.5 MB, free: 15.92 MB / 394.7 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.0001974/0.0341, allocations: 208.4 kB / 411.7 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.686e-05/0.0342, allocations: 59.77 kB / 411.8 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000725/0.03493, allocations: 0.5575 MB / 412.3 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.03493, allocations: 11.94 kB / 412.4 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.03494, allocations: 11.98 kB / 412.4 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.03495, allocations: 0 / 412.4 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.03638, allocations: 1.333 MB / 413.7 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.03638, allocations: 4 kB / 413.7 MB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.03653, allocations: 75.91 kB / 413.8 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005586/0.03708, allocations: 246.5 kB / 414 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.03711, allocations: 16 kB / 414 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003958/0.04107, allocations: 7.764 MB / 421.8 MB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.04107, allocations: 4 kB / 421.8 MB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.04234, allocations: 1.154 MB / 423 MB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.82e-05/0.04241, allocations: 39.64 kB / 423 MB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.04244, allocations: 19.98 kB / 423 MB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.04261, allocations: 12 kB / 423 MB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.78e-05/0.0427, allocations: 63.77 kB / 423.1 MB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.04272, allocations: 16 kB / 423.1 MB, free: 3.703 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001401/0.04286, allocations: 217 kB / 423.3 MB, free: 3.492 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04286, allocations: 4 kB / 423.3 MB, free: 3.488 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008286/0.04369, allocations: 279.3 kB / 423.6 MB, free: 3.215 MB / 394.7 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.0002681/0.04396, allocations: 143.1 kB / 423.7 MB, free: 3.066 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.04505, allocations: 1.188 MB / 424.9 MB, free: 1.805 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.04505, allocations: 0 / 424.9 MB, free: 1.805 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005543/0.04561, allocations: 0.9488 MB / 425.9 MB, free: 0.7773 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.04603, allocations: 63.77 kB / 425.9 MB, free: 0.7188 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.04777, allocations: 1.141 MB / 427.1 MB, free: 15.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.0479, allocations: 155.3 kB / 427.2 MB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001494/0.04805, allocations: 68.42 kB / 427.3 MB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.04812, allocations: 40.48 kB / 427.3 MB, free: 15.25 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.04812, allocations: 0 / 427.3 MB, free: 15.25 MB / 410.7 MB Notification: Performance of Templates: time 0.0105/0.05861, allocations: 6.883 MB / 434.2 MB, free: 8.426 MB / 410.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.751159871928394]