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.001902/0.001902, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002448/0.002448, allocations: 208.1 kB / 23.73 MB, free: 4.387 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.583/1.583, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2437/0.2437, allocations: 44.93 MB / 358.8 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 179] 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: 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.0.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.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [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.002153/0.002153, allocations: 71.89 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4146, allocations: 65.47 MB / 0.5575 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007513/0.4221, allocations: 4.755 MB / 0.5621 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003906/0.426, allocations: 1.573 MB / 0.5636 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003432/0.4263, allocations: 20 kB / 0.5637 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003748/0.4301, allocations: 1.478 MB / 0.5651 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.4311, allocations: 313.6 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.4324, allocations: 0.4946 MB / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.4335, allocations: 0.8084 MB / 0.5667 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.4346, allocations: 0.626 MB / 0.5673 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005524/0.4352, allocations: 354.7 kB / 0.5676 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000557/0.4357, allocations: 406.2 kB / 0.568 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.4358, allocations: 72 kB / 0.5681 GB, free: 12.42 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00049/0.4363, allocations: 187.9 kB / 0.5683 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.4365, allocations: 179.3 kB / 0.5684 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003457/0.4368, allocations: 342.4 kB / 0.5688 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.4383, allocations: 1.186 MB / 0.5699 GB, free: 10.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4383, allocations: 0 / 0.5699 GB, free: 10.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4383, allocations: 4 kB / 0.5699 GB, free: 10.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.783e-05/0.4383, allocations: 0 / 0.5699 GB, free: 10.53 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.003498/0.4418, allocations: 1.3 MB / 0.5712 GB, free: 9.199 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.4419, allocations: 15.97 kB / 0.5712 GB, free: 9.184 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/0.4435, allocations: 232.2 kB / 0.5714 GB, free: 8.957 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.4437, allocations: 202 kB / 0.5716 GB, free: 8.734 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.525e-05/0.4438, allocations: 78.38 kB / 0.5717 GB, free: 8.656 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.444, allocations: 100.1 kB / 0.5718 GB, free: 8.559 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.4456, allocations: 0.936 MB / 0.5727 GB, free: 7.605 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.832e-05/0.4456, allocations: 7.953 kB / 0.5727 GB, free: 7.598 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-05/0.4457, allocations: 40 kB / 0.5727 GB, free: 7.559 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.4457, allocations: 24 kB / 0.5728 GB, free: 7.535 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.4471, allocations: 0.7222 MB / 0.5735 GB, free: 6.812 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004875/0.4519, allocations: 2.712 MB / 0.5761 GB, free: 3.973 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.4536, allocations: 0.7824 MB / 0.5769 GB, free: 3.172 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000405/0.454, allocations: 260.4 kB / 0.5771 GB, free: 2.906 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.023e-05/0.4541, allocations: 20.31 kB / 0.5772 GB, free: 2.887 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.4542, allocations: 42.89 kB / 0.5772 GB, free: 2.836 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 3.025e-06/0.4542, allocations: 3.938 kB / 0.5772 GB, free: 2.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.00269/0.4569, allocations: 1.011 MB / 0.5782 GB, free: 1.805 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.98e-05/0.457, allocations: 144.4 kB / 0.5783 GB, free: 1.633 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004188/0.4574, allocations: 293.6 kB / 0.5786 GB, free: 1.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.635e-05/0.4574, allocations: 41.7 kB / 0.5786 GB, free: 1.293 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003251/0.4577, allocations: 415.8 kB / 0.579 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.458, allocations: 241.9 kB / 0.5793 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.4582, allocations: 150.6 kB / 0.5794 GB, free: 500 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.4584, allocations: 346.8 kB / 0.5797 GB, free: 144 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003835/0.4588, allocations: 197.9 kB / 0.5799 GB, free: 15.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/0.4593, allocations: 400.6 kB / 0.5803 GB, free: 15.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009432/0.4602, allocations: 0.6259 MB / 0.5809 GB, free: 14.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.4602, allocations: 0 / 0.5809 GB, free: 14.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001649/0.4619, allocations: 0.8815 MB / 0.5818 GB, free: 13.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.4619, allocations: 8 kB / 0.5818 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.4619, allocations: 4 kB / 0.5818 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007221/0.4627, allocations: 223.4 kB / 0.582 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005174/0.4632, allocations: 143.8 kB / 0.5821 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006551/0.4697, allocations: 6.165 MB / 0.5882 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005563/0.4703, allocations: 79.41 kB / 0.5882 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/0.4703, allocations: 35.98 kB / 0.5883 GB, free: 6.789 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.0004608/0.4708, allocations: 224.7 kB / 0.5885 GB, free: 6.562 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.4709, allocations: 47.66 kB / 0.5885 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.4723, allocations: 0.6833 MB / 0.5892 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/0.4723, allocations: 8 kB / 0.5892 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4723, allocations: 4 kB / 0.5892 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.4723, allocations: 7.984 kB / 0.5892 GB, free: 5.793 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/0.4749, allocations: 1.35 MB / 0.5905 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4749, allocations: 0 / 0.5905 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.4751, allocations: 67.91 kB / 0.5906 GB, free: 4.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005685/0.4757, allocations: 215.2 kB / 0.5908 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.183e-05/0.4757, allocations: 15.94 kB / 0.5908 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006224/0.4819, allocations: 6.158 MB / 0.5968 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.482, allocations: 0 / 0.5968 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.4837, allocations: 1.183 MB / 0.598 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.4838, allocations: 55.59 kB / 0.598 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.4839, allocations: 15.94 kB / 0.5981 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/0.4842, allocations: 12 kB / 0.5981 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.4843, allocations: 72.06 kB / 0.5981 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.4844, allocations: 16 kB / 0.5982 GB, free: 12.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002487/0.4846, allocations: 197.3 kB / 0.5983 GB, free: 11.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4846, allocations: 0 / 0.5983 GB, free: 11.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001175/0.4858, allocations: 287.3 kB / 0.5986 GB, free: 11.67 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.0003086/0.4861, allocations: 135.1 kB / 0.5988 GB, free: 11.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.488, allocations: 1.049 MB / 0.5998 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.488, allocations: 0 / 0.5998 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009678/0.4889, allocations: 0.7643 MB / 0.6005 GB, free: 9.613 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006784/0.4896, allocations: 42.56 kB / 0.6006 GB, free: 9.574 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/0.4924, allocations: 1.242 MB / 0.6018 GB, free: 8.297 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.4929, allocations: 314.5 kB / 0.6021 GB, free: 7.961 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002568/0.4931, allocations: 64.42 kB / 0.6021 GB, free: 7.895 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.639e-05/0.4932, allocations: 39.42 kB / 0.6022 GB, free: 7.859 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4932, allocations: 0 / 0.6022 GB, free: 7.859 MB / 446.1 MB Notification: Performance of Templates: time 0.01712/0.5103, allocations: 7.585 MB / 0.6096 GB, free: 356 kB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/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: 5.906036319211125]