Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002184/0.002184, allocations: 102.6 kB / 21.93 MB, free: 5.203 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.002468/0.002468, allocations: 202.2 kB / 25.22 MB, free: 3.141 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.465/1.465, allocations: 207.7 MB / 236.1 MB, free: 9.766 MB / 190.1 MB " [Timeout remaining time 178] 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(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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [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.001868/0.001868, allocations: 51.94 kB / 348.4 MB, free: 9.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2872, allocations: 49.16 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007365/0.2946, allocations: 5.771 MB / 403.4 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004839/0.2994, allocations: 2.443 MB / 405.8 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008822/0.3003, allocations: 27.19 kB / 405.8 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003101/0.3034, allocations: 1.193 MB / 407 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002036/0.3054, allocations: 0.5397 MB / 407.6 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002494/0.3079, allocations: 1.167 MB / 408.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001744/0.3097, allocations: 1.092 MB / 409.8 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.3109, allocations: 0.7782 MB / 410.6 MB, free: 1.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006834/0.3116, allocations: 463.3 kB / 411.1 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006917/0.3123, allocations: 0.4951 MB / 411.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.3125, allocations: 98.47 kB / 411.7 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.3135, allocations: 385.3 kB / 412 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.3137, allocations: 235.2 kB / 412.3 MB, free: 484 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000396/0.3141, allocations: 450 kB / 412.7 MB, free: 196 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.3163, allocations: 1.539 MB / 414.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3163, allocations: 1.5 kB / 414.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3163, allocations: 0 / 414.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.826e-05/0.3163, allocations: 0 / 414.2 MB, free: 15.06 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.005208/0.3215, allocations: 1.706 MB / 416 MB, free: 13.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.3216, allocations: 8.969 kB / 416 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003983/0.3256, allocations: 0.5804 MB / 416.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.3267, allocations: 446.5 kB / 417 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-05/0.3268, allocations: 89.23 kB / 417.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/0.327, allocations: 111.7 kB / 417.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/0.3294, allocations: 1.063 MB / 418.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.584e-05/0.3295, allocations: 8.984 kB / 418.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.3296, allocations: 45.72 kB / 418.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/0.3296, allocations: 28.28 kB / 418.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/0.3318, allocations: 1.012 MB / 419.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007017/0.3389, allocations: 3.009 MB / 422.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/0.3409, allocations: 0.8699 MB / 423.2 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008199/0.3417, allocations: 395.4 kB / 423.6 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.029e-05/0.3418, allocations: 24.98 kB / 423.6 MB, free: 8.863 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.3429, allocations: 0.5253 MB / 424.1 MB, free: 8.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 3.827e-06/0.3429, allocations: 0 / 424.1 MB, free: 8.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=127): time 0.009246/0.3521, allocations: 3.688 MB / 427.8 MB, free: 4.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.3522, allocations: 141.5 kB / 428 MB, free: 4.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004866/0.3527, allocations: 401.3 kB / 428.4 MB, free: 4.012 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.01e-05/0.3528, allocations: 49.7 kB / 428.4 MB, free: 3.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/0.3531, allocations: 452.8 kB / 428.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003626/0.3535, allocations: 452.1 kB / 429.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000341/0.3538, allocations: 210.9 kB / 429.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.354, allocations: 382.7 kB / 429.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007361/0.3547, allocations: 362.4 kB / 430.2 MB, free: 2.113 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009658/0.3557, allocations: 0.6301 MB / 430.9 MB, free: 1.387 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001717/0.3574, allocations: 0.9892 MB / 431.8 MB, free: 332 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/0.3574, allocations: 0 / 431.8 MB, free: 332 kB / 334.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002778/0.3602, allocations: 1.41 MB / 433.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.3602, allocations: 8 kB / 433.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.3603, allocations: 4 kB / 433.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009148/0.3612, allocations: 363.1 kB / 433.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009125/0.3621, allocations: 215.7 kB / 433.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00849/0.3706, allocations: 7.898 MB / 441.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008824/0.3715, allocations: 43.98 kB / 441.8 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.3e-05/0.3715, allocations: 51.98 kB / 441.8 MB, free: 5.902 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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.0004873/0.372, allocations: 265.5 kB / 442.1 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.3722, allocations: 79.59 kB / 442.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002723/0.3749, allocations: 1.301 MB / 443.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.3749, allocations: 12 kB / 443.5 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.3749, allocations: 12 kB / 443.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.3749, allocations: 11.91 kB / 443.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004342/0.3793, allocations: 2.21 MB / 445.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.3793, allocations: 128 / 445.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000717/0.38, allocations: 168 kB / 445.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008364/0.3808, allocations: 319.1 kB / 446.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.289e-05/0.3809, allocations: 35.92 kB / 446.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008011/0.3889, allocations: 7.525 MB / 453.7 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.3889, allocations: 4 kB / 453.7 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003605/0.3925, allocations: 1.822 MB / 455.6 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004246/0.3929, allocations: 143.5 kB / 455.7 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.3931, allocations: 27.98 kB / 455.7 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005403/0.3936, allocations: 43.92 kB / 455.8 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002399/0.3938, allocations: 104.8 kB / 455.9 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.406e-05/0.3939, allocations: 35.94 kB / 455.9 MB, free: 7.242 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003146/0.3942, allocations: 255.2 kB / 456.2 MB, free: 6.992 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3942, allocations: 0 / 456.2 MB, free: 6.992 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001274/0.3955, allocations: 327.9 kB / 456.5 MB, free: 6.672 MB / 366.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) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * 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.0003244/0.3958, allocations: 179 kB / 456.7 MB, free: 6.488 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002982/0.3988, allocations: 1.581 MB / 458.2 MB, free: 4.852 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.3988, allocations: 4.125 kB / 458.2 MB, free: 4.848 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001795/0.4006, allocations: 1.11 MB / 459.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000619/0.4012, allocations: 65.5 kB / 459.4 MB, free: 3.625 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004263/0.4055, allocations: 2.064 MB / 461.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/0.406, allocations: 436.4 kB / 461.9 MB, free: 1.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/0.4063, allocations: 67.42 kB / 462 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4063, allocations: 0 / 462 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of Templates: time 0.03453/0.4408, allocations: 27.15 MB / 489.1 MB, free: 5.75 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.922721396200359]