Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001196/0.001196, allocations: 105 kB / 20.44 MB, free: 1.504 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.001342/0.001342, allocations: 217.5 kB / 23.76 MB, free: 4.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 207.6 MB / 234.5 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2033/0.2033, allocations: 44.24 MB / 331 MB, free: 9.539 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002109/0.002109, allocations: 82.39 kB / 468.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1068, allocations: 61.04 MB / 0.5174 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006728/0.1135, allocations: 5.327 MB / 0.5226 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002888/0.1164, allocations: 1.628 MB / 0.5242 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.1167, allocations: 24 kB / 0.5242 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003358/0.12, allocations: 1.603 MB / 0.5258 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006819/0.1207, allocations: 313.6 kB / 0.5261 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.1217, allocations: 0.5141 MB / 0.5266 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008238/0.1226, allocations: 0.8086 MB / 0.5273 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008869/0.1235, allocations: 0.6468 MB / 0.528 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003704/0.1238, allocations: 342.8 kB / 0.5283 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000569/0.1244, allocations: 462.2 kB / 0.5287 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.191e-05/0.1245, allocations: 72 kB / 0.5288 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003597/0.1248, allocations: 195.8 kB / 0.529 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.125, allocations: 175.3 kB / 0.5292 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003671/0.1254, allocations: 425.9 kB / 0.5296 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.1266, allocations: 1.152 MB / 0.5307 GB, free: 9.125 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1266, allocations: 7.938 kB / 0.5307 GB, free: 9.117 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1266, allocations: 0 / 0.5307 GB, free: 9.117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.1266, allocations: 0 / 0.5307 GB, free: 9.117 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.003093/0.1297, allocations: 1.297 MB / 0.532 GB, free: 7.789 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.1297, allocations: 8.031 kB / 0.532 GB, free: 7.781 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.131, allocations: 232.2 kB / 0.5322 GB, free: 7.555 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.1312, allocations: 206 kB / 0.5324 GB, free: 7.328 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.17e-05/0.1313, allocations: 74.38 kB / 0.5325 GB, free: 7.254 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.1314, allocations: 100.1 kB / 0.5326 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.133, allocations: 0.9283 MB / 0.5335 GB, free: 6.211 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/0.133, allocations: 11.89 kB / 0.5335 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.643e-05/0.1331, allocations: 40 kB / 0.5335 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.1331, allocations: 24 kB / 0.5335 GB, free: 6.137 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.1343, allocations: 0.7222 MB / 0.5342 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004727/0.139, allocations: 3.653 MB / 0.5378 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.1405, allocations: 0.7741 MB / 0.5386 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003813/0.1409, allocations: 260.5 kB / 0.5388 GB, free: 412 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.57e-05/0.141, allocations: 16.33 kB / 0.5388 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.141, allocations: 46.83 kB / 0.5389 GB, free: 340 kB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 1.813e-06/0.141, allocations: 0 / 0.5389 GB, free: 340 kB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.1728/0.3138, allocations: 1.019 MB / 0.5399 GB, free: 27.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.3138, allocations: 136.9 kB / 0.54 GB, free: 27.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.3142, allocations: 322.2 kB / 0.5403 GB, free: 27.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.3142, allocations: 35.83 kB / 0.5403 GB, free: 27.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.3144, allocations: 410.7 kB / 0.5407 GB, free: 27.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.3145, allocations: 239.7 kB / 0.541 GB, free: 27.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.3146, allocations: 147.8 kB / 0.5411 GB, free: 27.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.1e-05/0.3147, allocations: 351.2 kB / 0.5414 GB, free: 26.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.315, allocations: 198.3 kB / 0.5416 GB, free: 26.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.3154, allocations: 404.9 kB / 0.542 GB, free: 26.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006598/0.316, allocations: 0.6262 MB / 0.5426 GB, free: 26.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.316, allocations: 1.25 kB / 0.5426 GB, free: 26.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001264/0.3173, allocations: 0.8741 MB / 0.5435 GB, free: 26.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3173, allocations: 7.719 kB / 0.5435 GB, free: 26.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.3173, allocations: 9.719 kB / 0.5435 GB, free: 26.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000572/0.3179, allocations: 221.7 kB / 0.5437 GB, free: 26.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/0.3184, allocations: 138.8 kB / 0.5438 GB, free: 26.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003754/0.3221, allocations: 6.299 MB / 0.55 GB, free: 20.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.3225, allocations: 95.8 kB / 0.5501 GB, free: 20.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/0.3226, allocations: 34.78 kB / 0.5501 GB, free: 20.63 MB / 414.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.0002333/0.3228, allocations: 224.9 kB / 0.5503 GB, free: 20.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.3229, allocations: 48.8 kB / 0.5504 GB, free: 20.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.3239, allocations: 0.6723 MB / 0.551 GB, free: 20.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.3239, allocations: 12.34 kB / 0.551 GB, free: 20.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3239, allocations: 3.969 kB / 0.5511 GB, free: 20.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-06/0.3239, allocations: 5.547 kB / 0.5511 GB, free: 20.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.326, allocations: 1.517 MB / 0.5525 GB, free: 19.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.326, allocations: 1.156 kB / 0.5525 GB, free: 19.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.3262, allocations: 69.12 kB / 0.5526 GB, free: 19.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004564/0.3266, allocations: 213.1 kB / 0.5528 GB, free: 19.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.3267, allocations: 14.17 kB / 0.5528 GB, free: 19.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00363/0.3303, allocations: 6.292 MB / 0.559 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3303, allocations: 5.078 kB / 0.559 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.3315, allocations: 1.188 MB / 0.5601 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.063e-05/0.3316, allocations: 52.09 kB / 0.5602 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/0.3316, allocations: 13.47 kB / 0.5602 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.3319, allocations: 13.3 kB / 0.5602 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/0.332, allocations: 64.89 kB / 0.5603 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.3321, allocations: 16.66 kB / 0.5603 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001955/0.3323, allocations: 218 kB / 0.5605 GB, free: 12.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3323, allocations: 0 / 0.5605 GB, free: 12.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009481/0.3332, allocations: 280.4 kB / 0.5608 GB, free: 12.37 MB / 414.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.0001685/0.3334, allocations: 134.4 kB / 0.5609 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.3345, allocations: 1.038 MB / 0.5619 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3345, allocations: 5.875 kB / 0.5619 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006128/0.3351, allocations: 0.765 MB / 0.5627 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006049/0.3357, allocations: 43.12 kB / 0.5627 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.3375, allocations: 1.274 MB / 0.5639 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.3378, allocations: 0.9174 MB / 0.5648 GB, free: 9.488 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.3379, allocations: 41.03 kB / 0.5649 GB, free: 9.48 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3379, allocations: 0 / 0.5649 GB, free: 9.48 MB / 414.1 MB Notification: Performance of Templates: time 0.01817/0.3561, allocations: 19.51 MB / 0.5839 GB, free: 1.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 7.750215897103772]