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.001656/0.001656, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.001823/0.001823, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.532/1.532, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.23/0.23, allocations: 46.92 MB / 357.8 MB, free: 10.31 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.001889/0.001889, allocations: 67.89 kB / 0.4921 GB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1169, allocations: 65.99 MB / 0.5565 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007327/0.1242, allocations: 5.365 MB / 0.5617 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003206/0.1274, allocations: 1.658 MB / 0.5634 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003108/0.1277, allocations: 16 kB / 0.5634 GB, free: 14.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003513/0.1312, allocations: 1.606 MB / 0.5649 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008454/0.1321, allocations: 317.6 kB / 0.5652 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.1332, allocations: 0.5217 MB / 0.5658 GB, free: 11.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009473/0.1341, allocations: 0.8046 MB / 0.5665 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000882/0.135, allocations: 0.5611 MB / 0.5671 GB, free: 10.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004523/0.1355, allocations: 350.7 kB / 0.5674 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005362/0.136, allocations: 454.2 kB / 0.5679 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.781e-05/0.1361, allocations: 76 kB / 0.5679 GB, free: 9.574 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004322/0.1365, allocations: 203.9 kB / 0.5681 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.1367, allocations: 187.2 kB / 0.5683 GB, free: 9.191 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003761/0.1371, allocations: 418 kB / 0.5687 GB, free: 8.781 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.1384, allocations: 1.175 MB / 0.5699 GB, free: 7.602 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1384, allocations: 0 / 0.5699 GB, free: 7.602 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1384, allocations: 0 / 0.5699 GB, free: 7.602 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.1384, allocations: 0 / 0.5699 GB, free: 7.602 MB / 430.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.003449/0.1418, allocations: 1.38 MB / 0.5712 GB, free: 6.172 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1419, allocations: 9.109 kB / 0.5712 GB, free: 6.164 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.1435, allocations: 236.2 kB / 0.5714 GB, free: 5.934 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.1438, allocations: 255.8 kB / 0.5717 GB, free: 5.645 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.991e-05/0.1438, allocations: 74.38 kB / 0.5717 GB, free: 5.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.144, allocations: 104.1 kB / 0.5718 GB, free: 5.469 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.1456, allocations: 0.936 MB / 0.5728 GB, free: 4.516 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/0.1456, allocations: 7.953 kB / 0.5728 GB, free: 4.508 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.772e-05/0.1457, allocations: 40 kB / 0.5728 GB, free: 4.469 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/0.1457, allocations: 24 kB / 0.5728 GB, free: 4.445 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.147, allocations: 0.7222 MB / 0.5735 GB, free: 3.727 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005283/0.1523, allocations: 4.096 MB / 0.5775 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002944/0.1552, allocations: 3.318 MB / 0.5808 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004195/0.1557, allocations: 263.2 kB / 0.581 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.1558, allocations: 182.5 kB / 0.5812 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.1559, allocations: 42.89 kB / 0.5812 GB, free: 10.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.355e-06/0.1559, allocations: 3.938 kB / 0.5812 GB, free: 10.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.002851/0.1587, allocations: 1.327 MB / 0.5825 GB, free: 9.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.732e-05/0.1588, allocations: 140.5 kB / 0.5827 GB, free: 9.172 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004064/0.1592, allocations: 314.8 kB / 0.583 GB, free: 8.855 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.1593, allocations: 37.7 kB / 0.583 GB, free: 8.812 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.1595, allocations: 407.8 kB / 0.5834 GB, free: 8.406 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.1597, allocations: 241.9 kB / 0.5836 GB, free: 8.168 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.16, allocations: 154.6 kB / 0.5838 GB, free: 8.012 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.1601, allocations: 350.8 kB / 0.5841 GB, free: 7.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.1605, allocations: 201.9 kB / 0.5843 GB, free: 7.465 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000541/0.161, allocations: 398.8 kB / 0.5847 GB, free: 6.996 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009124/0.162, allocations: 0.622 MB / 0.5853 GB, free: 6.293 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.162, allocations: 4 kB / 0.5853 GB, free: 6.289 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001564/0.1635, allocations: 0.8734 MB / 0.5861 GB, free: 5.395 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1636, allocations: 8 kB / 0.5862 GB, free: 5.387 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.1636, allocations: 7.938 kB / 0.5862 GB, free: 5.379 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006656/0.1642, allocations: 231.7 kB / 0.5864 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/0.1647, allocations: 139.8 kB / 0.5865 GB, free: 5.004 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2441/0.4088, allocations: 6.704 MB / 0.5931 GB, free: 32.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005688/0.4094, allocations: 85.73 kB / 0.5931 GB, free: 32.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/0.4094, allocations: 35.23 kB / 0.5932 GB, free: 32.06 MB / 446.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.0002873/0.4097, allocations: 224.5 kB / 0.5934 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.4098, allocations: 42.44 kB / 0.5934 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.4111, allocations: 0.69 MB / 0.5941 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.4111, allocations: 7.188 kB / 0.5941 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.4111, allocations: 6.188 kB / 0.5941 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.4112, allocations: 7.141 kB / 0.5941 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.4135, allocations: 1.562 MB / 0.5957 GB, free: 31.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.4135, allocations: 1.375 kB / 0.5957 GB, free: 31.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.4137, allocations: 70.48 kB / 0.5957 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005677/0.4143, allocations: 214.1 kB / 0.5959 GB, free: 31.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/0.4143, allocations: 15.45 kB / 0.5959 GB, free: 31.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004363/0.4187, allocations: 6.707 MB / 0.6025 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4187, allocations: 5.344 kB / 0.6025 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.4203, allocations: 1.175 MB / 0.6036 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.4205, allocations: 133 kB / 0.6038 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.028e-05/0.4205, allocations: 27.28 kB / 0.6038 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.4208, allocations: 12.72 kB / 0.6038 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.421, allocations: 51.78 kB / 0.6039 GB, free: 24.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/0.421, allocations: 18.75 kB / 0.6039 GB, free: 24.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002429/0.4212, allocations: 211.8 kB / 0.6041 GB, free: 24.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4212, allocations: 0 / 0.6041 GB, free: 24.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001013/0.4222, allocations: 281.3 kB / 0.6043 GB, free: 24.63 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.0002244/0.4225, allocations: 140.8 kB / 0.6045 GB, free: 24.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.424, allocations: 1.053 MB / 0.6055 GB, free: 23.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.424, allocations: 0 / 0.6055 GB, free: 23.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007986/0.4248, allocations: 0.763 MB / 0.6063 GB, free: 23.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000662/0.4254, allocations: 46.5 kB / 0.6063 GB, free: 23.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.4276, allocations: 1.271 MB / 0.6075 GB, free: 22.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.428, allocations: 0.9136 MB / 0.6084 GB, free: 21.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.4282, allocations: 47.02 kB / 0.6085 GB, free: 21.77 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4282, allocations: 3.609 kB / 0.6085 GB, free: 21.77 MB / 446.1 MB Notification: Performance of Templates: time 0.02191/0.4501, allocations: 19.72 MB / 0.6277 GB, free: 13.91 MB / 446.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.383251074003056]