Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 120.5 kB / 18.46 MB, free: 4.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 194.6 kB / 21.4 MB, free: 1.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 47.92 kB / 366.8 MB, free: 452 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1064, allocations: 52.14 MB / 418.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008762/0.1152, allocations: 6.501 MB / 425.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005007/0.1202, allocations: 2.558 MB / 428 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006282/0.1208, allocations: 23.94 kB / 428 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003202/0.124, allocations: 1.275 MB / 429.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.1259, allocations: 0.6873 MB / 430 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002416/0.1283, allocations: 1.109 MB / 431.1 MB, free: 8 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.1298, allocations: 1.071 MB / 432.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.131, allocations: 0.7001 MB / 432.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000606/0.1316, allocations: 442.3 kB / 433.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007423/0.1323, allocations: 0.5406 MB / 433.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.1325, allocations: 100 kB / 433.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009175/0.1334, allocations: 403.7 kB / 434.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.1336, allocations: 231.1 kB / 434.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005111/0.1341, allocations: 0.5209 MB / 435.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.136, allocations: 1.51 MB / 436.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.136, allocations: 0 / 436.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.136, allocations: 0 / 436.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.1361, allocations: 0 / 436.6 MB, free: 10.48 MB / 366.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.004493/0.1406, allocations: 1.657 MB / 438.3 MB, free: 8.762 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1406, allocations: 12.02 kB / 438.3 MB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003149/0.1437, allocations: 483.8 kB / 438.7 MB, free: 8.277 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000763/0.1445, allocations: 494.4 kB / 439.2 MB, free: 7.758 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.254e-05/0.1446, allocations: 86.22 kB / 439.3 MB, free: 7.672 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.1448, allocations: 116 kB / 439.4 MB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.1467, allocations: 0.9628 MB / 440.4 MB, free: 6.566 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/0.1467, allocations: 4 kB / 440.4 MB, free: 6.562 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.1468, allocations: 48 kB / 440.4 MB, free: 6.516 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.732e-05/0.1469, allocations: 31.92 kB / 440.5 MB, free: 6.484 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.1488, allocations: 0.9652 MB / 441.4 MB, free: 5.512 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006316/0.1552, allocations: 3.67 MB / 445.1 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1981/0.3533, allocations: 1.494 MB / 446.6 MB, free: 29.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009794/0.3542, allocations: 389.9 kB / 447 MB, free: 29.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.3544, allocations: 101.1 kB / 447.1 MB, free: 29.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007965/0.3552, allocations: 474.8 kB / 447.5 MB, free: 29.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.504e-06/0.3552, allocations: 0 / 447.5 MB, free: 29.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.008477/0.3636, allocations: 3.996 MB / 451.5 MB, free: 28.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/0.3637, allocations: 153.7 kB / 451.7 MB, free: 28.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004733/0.3642, allocations: 392 kB / 452.1 MB, free: 28.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.057e-05/0.3642, allocations: 47.55 kB / 452.1 MB, free: 28.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.3645, allocations: 428.1 kB / 452.5 MB, free: 28.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/0.3648, allocations: 449.3 kB / 453 MB, free: 27.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003201/0.3651, allocations: 202.9 kB / 453.2 MB, free: 27.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3653, allocations: 376.8 kB / 453.5 MB, free: 27.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007439/0.366, allocations: 359.8 kB / 453.9 MB, free: 27.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008861/0.3669, allocations: 0.5395 MB / 454.4 MB, free: 27.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.3685, allocations: 0.9458 MB / 455.4 MB, free: 26.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.3685, allocations: 1.125 kB / 455.4 MB, free: 26.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002613/0.3712, allocations: 1.376 MB / 456.7 MB, free: 25.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.3712, allocations: 9.25 kB / 456.8 MB, free: 25.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.3712, allocations: 9.062 kB / 456.8 MB, free: 25.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009857/0.3722, allocations: 357.3 kB / 457.1 MB, free: 25.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008526/0.373, allocations: 200.1 kB / 457.3 MB, free: 25.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006596/0.3796, allocations: 8.49 MB / 465.8 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008032/0.3804, allocations: 50.73 kB / 465.8 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.016e-05/0.3805, allocations: 41.55 kB / 465.9 MB, free: 18.48 MB / 366.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.000451/0.381, allocations: 257.4 kB / 466.1 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.3811, allocations: 76.7 kB / 466.2 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/0.3835, allocations: 1.295 MB / 467.5 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.3836, allocations: 14.91 kB / 467.5 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/0.3836, allocations: 10.19 kB / 467.5 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/0.3836, allocations: 9.016 kB / 467.5 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004494/0.3881, allocations: 2.503 MB / 470 MB, free: 16.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.3881, allocations: 2.219 kB / 470 MB, free: 16.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006996/0.3888, allocations: 158.8 kB / 470.2 MB, free: 16.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008509/0.3896, allocations: 317.6 kB / 470.5 MB, free: 16.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.917e-05/0.3897, allocations: 30.64 kB / 470.5 MB, free: 16.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006096/0.3958, allocations: 8.122 MB / 478.7 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.3958, allocations: 6.938 kB / 478.7 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003217/0.399, allocations: 1.809 MB / 480.5 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003543/0.3994, allocations: 227.2 kB / 480.7 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.965e-05/0.3995, allocations: 24.58 kB / 480.7 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004864/0.4, allocations: 43.09 kB / 480.8 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002293/0.4002, allocations: 95.88 kB / 480.9 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.915e-05/0.4003, allocations: 35 kB / 480.9 MB, free: 8.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002961/0.4005, allocations: 271.7 kB / 481.2 MB, free: 7.879 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4005, allocations: 0 / 481.2 MB, free: 7.879 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001312/0.4019, allocations: 318.6 kB / 481.5 MB, free: 7.824 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,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.0003122/0.4022, allocations: 173.1 kB / 481.6 MB, free: 7.699 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002573/0.4047, allocations: 1.553 MB / 483.2 MB, free: 6.824 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.4047, allocations: 3.141 kB / 483.2 MB, free: 6.824 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.4063, allocations: 1.106 MB / 484.3 MB, free: 6.102 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006048/0.4069, allocations: 84.89 kB / 484.4 MB, free: 6.047 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/0.4103, allocations: 2.008 MB / 486.4 MB, free: 4.938 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.4107, allocations: 1.018 MB / 487.4 MB, free: 4.223 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/0.411, allocations: 67.7 kB / 487.5 MB, free: 4.211 MB / 366.1 MB Notification: Performance of SimCode: time 1.213e-06/0.411, allocations: 0 / 487.5 MB, free: 4.211 MB / 366.1 MB Notification: Performance of Templates: time 0.02915/0.4401, allocations: 26.33 MB / 0.5018 GB, free: 12.78 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.782985930796713]