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.001366/0.001366, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001445/0.001445, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.409/1.409, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.00157/0.00157, allocations: 47.92 kB / 379 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2562, allocations: 53.37 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.009518/0.2657, allocations: 6.578 MB / 439 MB, free: 348 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005613/0.2713, allocations: 2.647 MB / 441.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009666/0.2723, allocations: 23.94 kB / 441.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003416/0.2757, allocations: 1.275 MB / 442.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001875/0.2776, allocations: 0.539 MB / 443.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002812/0.2804, allocations: 1.277 MB / 444.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001829/0.2822, allocations: 1.082 MB / 445.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.2837, allocations: 0.7869 MB / 446.6 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007258/0.2844, allocations: 454.4 kB / 447.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009028/0.2853, allocations: 0.5524 MB / 447.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002248/0.2855, allocations: 96 kB / 447.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.2866, allocations: 415.7 kB / 448.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002676/0.2868, allocations: 235.1 kB / 448.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007117/0.2875, allocations: 0.5247 MB / 448.9 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.2898, allocations: 1.525 MB / 450.4 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2898, allocations: 0 / 450.4 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2898, allocations: 4 kB / 450.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.582e-05/0.2899, allocations: 0 / 450.4 MB, free: 4.875 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.004861/0.2947, allocations: 1.692 MB / 452.1 MB, free: 3.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.2948, allocations: 8.031 kB / 452.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003178/0.298, allocations: 483.8 kB / 452.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008754/0.2988, allocations: 445.2 kB / 453 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.812e-05/0.2989, allocations: 86.22 kB / 453.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.2991, allocations: 112 kB / 453.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.3012, allocations: 0.9745 MB / 454.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/0.3012, allocations: 0 / 454.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.3013, allocations: 44 kB / 454.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/0.3013, allocations: 28 kB / 454.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.3033, allocations: 0.9613 MB / 455.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006351/0.3097, allocations: 3.512 MB / 458.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.3115, allocations: 0.8163 MB / 459.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007912/0.3123, allocations: 396.3 kB / 459.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.3124, allocations: 36.97 kB / 460 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009276/0.3133, allocations: 470.5 kB / 460.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.056e-06/0.3133, allocations: 3.938 kB / 460.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009978/0.3233, allocations: 3.699 MB / 464.1 MB, free: 6.797 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.3234, allocations: 145.5 kB / 464.3 MB, free: 6.625 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005983/0.324, allocations: 405.5 kB / 464.7 MB, free: 6.223 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-05/0.3241, allocations: 49.7 kB / 464.7 MB, free: 6.168 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000412/0.3245, allocations: 440.9 kB / 465.1 MB, free: 5.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004531/0.325, allocations: 448.1 kB / 465.6 MB, free: 5.289 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003592/0.3253, allocations: 202.9 kB / 465.8 MB, free: 5.086 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.3255, allocations: 378.8 kB / 466.1 MB, free: 4.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008044/0.3263, allocations: 350.5 kB / 466.5 MB, free: 4.363 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.3273, allocations: 0.539 MB / 467 MB, free: 3.758 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/0.3291, allocations: 0.9264 MB / 467.9 MB, free: 2.777 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.3291, allocations: 0 / 467.9 MB, free: 2.777 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002815/0.3319, allocations: 1.371 MB / 469.3 MB, free: 1.387 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.3319, allocations: 4 kB / 469.3 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.3319, allocations: 4 kB / 469.3 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009716/0.3329, allocations: 355.1 kB / 469.7 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008932/0.3338, allocations: 199.7 kB / 469.9 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009234/0.343, allocations: 8.078 MB / 477.9 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000833/0.3439, allocations: 39.98 kB / 478 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/0.344, allocations: 47.98 kB / 478 MB, free: 8.219 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.0005832/0.3446, allocations: 257.7 kB / 478.3 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.3448, allocations: 75.53 kB / 478.4 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002827/0.3476, allocations: 1.282 MB / 479.6 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/0.3476, allocations: 16 kB / 479.6 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/0.3477, allocations: 8 kB / 479.7 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.3477, allocations: 11.97 kB / 479.7 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004931/0.3526, allocations: 2.482 MB / 482.2 MB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.3526, allocations: 7.984 kB / 482.2 MB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007149/0.3533, allocations: 147.8 kB / 482.3 MB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008723/0.3542, allocations: 339.3 kB / 482.6 MB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.997e-05/0.3543, allocations: 24 kB / 482.7 MB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008483/0.3628, allocations: 7.709 MB / 490.4 MB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.3628, allocations: 4 kB / 490.4 MB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003744/0.3665, allocations: 1.806 MB / 492.2 MB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003925/0.3669, allocations: 151.5 kB / 492.3 MB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.3671, allocations: 31.94 kB / 492.4 MB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005576/0.3676, allocations: 39.92 kB / 492.4 MB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/0.3678, allocations: 104.7 kB / 492.5 MB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.981e-05/0.3679, allocations: 39.98 kB / 492.5 MB, free: 9.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003737/0.3683, allocations: 275.2 kB / 492.8 MB, free: 8.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3683, allocations: 0 / 492.8 MB, free: 8.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001342/0.3696, allocations: 319.9 kB / 493.1 MB, free: 8.508 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.0003532/0.37, allocations: 182.9 kB / 493.3 MB, free: 8.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002998/0.373, allocations: 1.546 MB / 494.8 MB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.373, allocations: 4.125 kB / 494.8 MB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001901/0.3749, allocations: 1.103 MB / 495.9 MB, free: 5.566 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007024/0.3756, allocations: 81.56 kB / 496 MB, free: 5.484 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.3798, allocations: 1.971 MB / 498 MB, free: 3.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008686/0.3807, allocations: 1.024 MB / 499 MB, free: 2.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.381, allocations: 75.41 kB / 499.1 MB, free: 2.336 MB / 398.1 MB Notification: Performance of SimCode: time 8.11e-07/0.381, allocations: 0 / 499.1 MB, free: 2.336 MB / 398.1 MB Notification: Performance of Templates: time 0.03373/0.4147, allocations: 27.06 MB / 0.5138 GB, free: 7.219 MB / 430.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 -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: 8.308253560913727]