Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.001872/0.001872, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002186/0.002186, allocations: 216.4 kB / 24.48 MB, free: 3.941 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.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002479/0.002479, allocations: 52.02 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2052, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008103/0.2133, allocations: 5.849 MB / 438.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003955/0.2173, allocations: 2.457 MB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003054/0.2176, allocations: 23.94 kB / 440.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002817/0.2204, allocations: 1.194 MB / 441.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.2215, allocations: 0.5269 MB / 442.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002342/0.2238, allocations: 1.178 MB / 443.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.225, allocations: 1.079 MB / 444.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.2261, allocations: 0.778 MB / 445.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005026/0.2266, allocations: 462.4 kB / 445.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006696/0.2272, allocations: 0.5523 MB / 446.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.2274, allocations: 96 kB / 446.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006542/0.228, allocations: 415.6 kB / 446.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.2282, allocations: 231.1 kB / 447.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004185/0.2286, allocations: 430 kB / 447.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.2303, allocations: 1.536 MB / 449.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2303, allocations: 0 / 449.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.2303, allocations: 4 kB / 449.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.2303, allocations: 0 / 449.1 MB, free: 5.879 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.004556/0.2349, allocations: 1.699 MB / 450.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.2349, allocations: 12.03 kB / 450.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003521/0.2384, allocations: 475.8 kB / 451.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007387/0.2392, allocations: 449.2 kB / 451.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.913e-05/0.2392, allocations: 86.22 kB / 451.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/0.2394, allocations: 112 kB / 451.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.2414, allocations: 1.025 MB / 452.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.2414, allocations: 0 / 452.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.2415, allocations: 44 kB / 453 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/0.2416, allocations: 28 kB / 453 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002001/0.2436, allocations: 0.9534 MB / 454 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005749/0.2493, allocations: 2.949 MB / 456.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.2511, allocations: 0.8094 MB / 457.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008052/0.2519, allocations: 392.3 kB / 458.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.2521, allocations: 32.92 kB / 458.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009685/0.253, allocations: 0.5175 MB / 458.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.655e-06/0.253, allocations: 0 / 458.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009394/0.2624, allocations: 3.692 MB / 462.3 MB, free: 8.312 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.966e-05/0.2625, allocations: 149.5 kB / 462.5 MB, free: 8.133 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004547/0.263, allocations: 385.5 kB / 462.9 MB, free: 7.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.991e-05/0.263, allocations: 49.7 kB / 462.9 MB, free: 7.695 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.2634, allocations: 437 kB / 463.3 MB, free: 7.262 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003652/0.2637, allocations: 444.1 kB / 463.8 MB, free: 6.824 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003325/0.2641, allocations: 206.9 kB / 464 MB, free: 6.617 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.2642, allocations: 378.8 kB / 464.4 MB, free: 6.238 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007614/0.265, allocations: 346.5 kB / 464.7 MB, free: 5.898 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009716/0.266, allocations: 0.5961 MB / 465.3 MB, free: 5.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.2677, allocations: 0.9265 MB / 466.2 MB, free: 4.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.2677, allocations: 4 kB / 466.2 MB, free: 4.246 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002791/0.2705, allocations: 1.359 MB / 467.6 MB, free: 2.867 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.2705, allocations: 7.938 kB / 467.6 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.2706, allocations: 11.94 kB / 467.6 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009507/0.2715, allocations: 343.2 kB / 467.9 MB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009428/0.2724, allocations: 207.7 kB / 468.1 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008556/0.281, allocations: 7.894 MB / 476 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006346/0.2816, allocations: 43.98 kB / 476.1 MB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.583e-05/0.2817, allocations: 43.98 kB / 476.1 MB, free: 9.922 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * 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,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003736/0.2821, allocations: 261.7 kB / 476.4 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.2822, allocations: 67.58 kB / 476.4 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/0.285, allocations: 1.285 MB / 477.7 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.2851, allocations: 15.94 kB / 477.7 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.2851, allocations: 4 kB / 477.7 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.2851, allocations: 11.97 kB / 477.8 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004252/0.2893, allocations: 2.201 MB / 480 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.2893, allocations: 7.938 kB / 480 MB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007671/0.2901, allocations: 151.9 kB / 480.1 MB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008774/0.291, allocations: 333.5 kB / 480.4 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-05/0.2911, allocations: 28 kB / 480.5 MB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008006/0.2991, allocations: 7.541 MB / 488 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.2991, allocations: 4 kB / 488 MB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003426/0.3025, allocations: 1.802 MB / 489.8 MB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003203/0.3028, allocations: 147.5 kB / 490 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.3029, allocations: 24 kB / 490 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005546/0.3035, allocations: 35.98 kB / 490 MB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.3037, allocations: 108.7 kB / 490.1 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-05/0.3037, allocations: 35.98 kB / 490.2 MB, free: 11.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002885/0.304, allocations: 255.2 kB / 490.4 MB, free: 11.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.304, allocations: 3.938 kB / 490.4 MB, free: 11.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001061/0.3051, allocations: 312 kB / 490.7 MB, free: 10.77 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (rootMeanSquare.mean.x,coil.i,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002793/0.3054, allocations: 183 kB / 490.9 MB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002718/0.3081, allocations: 1.545 MB / 492.4 MB, free: 8.977 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3081, allocations: 4 kB / 492.4 MB, free: 8.973 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001728/0.3098, allocations: 1.096 MB / 493.5 MB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005313/0.3103, allocations: 89.28 kB / 493.6 MB, free: 7.742 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/0.3138, allocations: 1.932 MB / 495.6 MB, free: 5.762 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.3143, allocations: 436 kB / 496 MB, free: 5.305 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004165/0.3147, allocations: 98.02 kB / 496.1 MB, free: 5.207 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.3149, allocations: 59.41 kB / 496.1 MB, free: 5.148 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3149, allocations: 0 / 496.1 MB, free: 5.148 MB / 398.1 MB Notification: Performance of Templates: time 0.02262/0.3375, allocations: 12.62 MB / 0.4968 GB, free: 8.605 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.087158170004841]