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.001915/0.001915, allocations: 111 kB / 21.18 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.002373/0.002373, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.545/1.545, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2289/0.2289, allocations: 46.97 MB / 361.6 MB, free: 4.031 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.002037/0.002037, allocations: 63.91 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3303, allocations: 66.05 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006827/0.3371, allocations: 4.744 MB / 0.5665 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003075/0.3402, allocations: 1.58 MB / 0.568 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002574/0.3405, allocations: 20 kB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003609/0.3441, allocations: 1.466 MB / 0.5694 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009734/0.345, allocations: 321.6 kB / 0.5698 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.3462, allocations: 0.4908 MB / 0.5702 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009182/0.3472, allocations: 0.8046 MB / 0.571 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009914/0.3481, allocations: 0.6377 MB / 0.5716 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004607/0.3486, allocations: 354.7 kB / 0.572 GB, free: 9.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005847/0.3492, allocations: 466.2 kB / 0.5724 GB, free: 9.273 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.3493, allocations: 76 kB / 0.5725 GB, free: 9.199 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004358/0.3497, allocations: 199.8 kB / 0.5727 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.3499, allocations: 175.3 kB / 0.5729 GB, free: 8.832 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.3502, allocations: 346.3 kB / 0.5732 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.3516, allocations: 1.179 MB / 0.5743 GB, free: 7.312 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.3516, allocations: 4 kB / 0.5743 GB, free: 7.309 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3516, allocations: 0 / 0.5743 GB, free: 7.309 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.3516, allocations: 0 / 0.5743 GB, free: 7.309 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.003637/0.3553, allocations: 1.297 MB / 0.5756 GB, free: 5.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.3553, allocations: 12.03 kB / 0.5756 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/0.3571, allocations: 240.1 kB / 0.5758 GB, free: 5.734 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.3574, allocations: 211.6 kB / 0.576 GB, free: 5.504 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.434e-05/0.3575, allocations: 78.38 kB / 0.5761 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.3576, allocations: 100.1 kB / 0.5762 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.3593, allocations: 0.936 MB / 0.5771 GB, free: 4.375 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.021e-05/0.3593, allocations: 7.953 kB / 0.5771 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.008e-05/0.3594, allocations: 40 kB / 0.5772 GB, free: 4.328 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/0.3594, allocations: 24 kB / 0.5772 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.3608, allocations: 0.7183 MB / 0.5779 GB, free: 3.582 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004668/0.3654, allocations: 2.72 MB / 0.5806 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.3671, allocations: 0.7745 MB / 0.5813 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004174/0.3675, allocations: 260.4 kB / 0.5816 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.897e-05/0.3676, allocations: 24.31 kB / 0.5816 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.3677, allocations: 50.81 kB / 0.5816 GB, free: 15.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 3.516e-06/0.3677, allocations: 0 / 0.5816 GB, free: 15.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002752/0.3704, allocations: 1.007 MB / 0.5826 GB, free: 14.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.729e-05/0.3705, allocations: 136.5 kB / 0.5827 GB, free: 14.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003718/0.3709, allocations: 305.6 kB / 0.583 GB, free: 14.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.3709, allocations: 33.7 kB / 0.5831 GB, free: 14.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.3712, allocations: 411.8 kB / 0.5835 GB, free: 13.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.3714, allocations: 245.9 kB / 0.5837 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.3716, allocations: 150.5 kB / 0.5838 GB, free: 13.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3718, allocations: 346.8 kB / 0.5842 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/0.3722, allocations: 205.9 kB / 0.5844 GB, free: 12.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000542/0.3727, allocations: 400.6 kB / 0.5848 GB, free: 12.24 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.3738, allocations: 0.6257 MB / 0.5854 GB, free: 11.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.3738, allocations: 4 kB / 0.5854 GB, free: 11.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001586/0.3754, allocations: 0.8773 MB / 0.5862 GB, free: 10.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3754, allocations: 8.5 kB / 0.5862 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.3754, allocations: 12 kB / 0.5862 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000681/0.3761, allocations: 223.2 kB / 0.5865 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005106/0.3766, allocations: 135.8 kB / 0.5866 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006126/0.3827, allocations: 6.161 MB / 0.5926 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004997/0.3832, allocations: 83.39 kB / 0.5927 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.297e-05/0.3833, allocations: 39.98 kB / 0.5927 GB, free: 3.559 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.0003328/0.3836, allocations: 217.6 kB / 0.5929 GB, free: 3.336 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.3838, allocations: 47.66 kB / 0.593 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.3851, allocations: 0.6757 MB / 0.5936 GB, free: 2.594 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.3851, allocations: 11.98 kB / 0.5936 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3852, allocations: 4 kB / 0.5936 GB, free: 2.578 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3852, allocations: 0 / 0.5936 GB, free: 2.578 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/0.3876, allocations: 1.358 MB / 0.595 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3876, allocations: 4 kB / 0.595 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002763/0.3879, allocations: 63.91 kB / 0.595 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005733/0.3884, allocations: 219.5 kB / 0.5952 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.841e-05/0.3885, allocations: 15.94 kB / 0.5953 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005799/0.3943, allocations: 6.151 MB / 0.6013 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3943, allocations: 4.031 kB / 0.6013 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.396, allocations: 1.191 MB / 0.6024 GB, free: 9.078 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.3961, allocations: 47.61 kB / 0.6025 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/0.3962, allocations: 12 kB / 0.6025 GB, free: 9.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/0.3965, allocations: 19.98 kB / 0.6025 GB, free: 9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.3967, allocations: 71.56 kB / 0.6026 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.3967, allocations: 16 kB / 0.6026 GB, free: 8.914 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002437/0.3969, allocations: 193.2 kB / 0.6028 GB, free: 8.727 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3969, allocations: 0 / 0.6028 GB, free: 8.727 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001018/0.398, allocations: 279.4 kB / 0.603 GB, free: 8.453 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.0002596/0.3982, allocations: 147.1 kB / 0.6032 GB, free: 8.301 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.3999, allocations: 1.045 MB / 0.6042 GB, free: 7.203 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3999, allocations: 4 kB / 0.6042 GB, free: 7.199 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009521/0.4008, allocations: 0.7443 MB / 0.6049 GB, free: 6.402 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006773/0.4015, allocations: 48.48 kB / 0.605 GB, free: 6.355 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.4037, allocations: 1.235 MB / 0.6062 GB, free: 5.082 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.404, allocations: 314.5 kB / 0.6065 GB, free: 4.746 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002355/0.4043, allocations: 68.42 kB / 0.6066 GB, free: 4.676 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.852e-05/0.4044, allocations: 39.42 kB / 0.6066 GB, free: 4.641 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4044, allocations: 4.031 kB / 0.6066 GB, free: 4.637 MB / 446.1 MB Notification: Performance of Templates: time 0.0152/0.4196, allocations: 7.836 MB / 0.6143 GB, free: 12.87 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 -s gbode -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: 5.40071600000374]