Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001702/0.001702, allocations: 108.3 kB / 20.48 MB, free: 1.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001514/0.001514, allocations: 219.2 kB / 23.78 MB, free: 4.426 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.5 MB / 257.4 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 63.84 kB / 378.3 MB, free: 2.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2547, allocations: 53.41 MB / 431.7 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007974/0.2626, allocations: 5.85 MB / 437.6 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004564/0.2672, allocations: 2.461 MB / 440 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003561/0.2676, allocations: 23.94 kB / 440.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002821/0.2704, allocations: 1.185 MB / 441.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001242/0.2716, allocations: 0.524 MB / 441.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.274, allocations: 1.187 MB / 443 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.2751, allocations: 1.079 MB / 444 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.2762, allocations: 0.7712 MB / 444.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005479/0.2768, allocations: 458.3 kB / 445.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006652/0.2775, allocations: 489.6 kB / 445.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.2776, allocations: 100 kB / 445.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007583/0.2784, allocations: 399.7 kB / 446.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.2786, allocations: 227.2 kB / 446.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004309/0.279, allocations: 441.8 kB / 446.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.2807, allocations: 1.533 MB / 448.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2807, allocations: 0 / 448.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2807, allocations: 0 / 448.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.2808, allocations: 0 / 448.4 MB, free: 5.727 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.004332/0.2851, allocations: 1.695 MB / 450.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.2851, allocations: 16.02 kB / 450.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00337/0.2885, allocations: 475.8 kB / 450.6 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000756/0.2893, allocations: 453.2 kB / 451 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.921e-05/0.2893, allocations: 82.22 kB / 451.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.2895, allocations: 115.9 kB / 451.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.2914, allocations: 1.021 MB / 452.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.2915, allocations: 0 / 452.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.902e-05/0.2916, allocations: 48 kB / 452.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.2916, allocations: 27.94 kB / 452.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.2935, allocations: 0.9535 MB / 453.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005613/0.2991, allocations: 2.944 MB / 456.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.3009, allocations: 0.8134 MB / 457 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007814/0.3017, allocations: 388.3 kB / 457.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.3018, allocations: 36.97 kB / 457.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009394/0.3027, allocations: 0.5096 MB / 457.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.836e-06/0.3027, allocations: 0 / 457.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009237/0.312, allocations: 3.711 MB / 461.7 MB, free: 8.145 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.3121, allocations: 141.5 kB / 461.8 MB, free: 7.973 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004381/0.3125, allocations: 385.5 kB / 462.2 MB, free: 7.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/0.3126, allocations: 45.7 kB / 462.2 MB, free: 7.539 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/0.3129, allocations: 437 kB / 462.6 MB, free: 7.105 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/0.3133, allocations: 448.1 kB / 463.1 MB, free: 6.664 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003128/0.3136, allocations: 206.9 kB / 463.3 MB, free: 6.457 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.3137, allocations: 374.8 kB / 463.7 MB, free: 6.082 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007375/0.3145, allocations: 354.5 kB / 464 MB, free: 5.734 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009275/0.3154, allocations: 0.5853 MB / 464.6 MB, free: 5.074 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/0.3171, allocations: 0.9265 MB / 465.5 MB, free: 4.094 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3171, allocations: 4 kB / 465.5 MB, free: 4.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002672/0.3197, allocations: 1.351 MB / 466.9 MB, free: 2.719 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.3198, allocations: 11.94 kB / 466.9 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.3198, allocations: 8 kB / 466.9 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009113/0.3207, allocations: 351.1 kB / 467.2 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008704/0.3216, allocations: 199.7 kB / 467.4 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008305/0.3299, allocations: 7.9 MB / 475.3 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006431/0.3305, allocations: 47.97 kB / 475.4 MB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-05/0.3306, allocations: 40.19 kB / 475.4 MB, free: 9.777 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.000409/0.331, allocations: 265.6 kB / 475.7 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.3311, allocations: 71.58 kB / 475.7 MB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/0.3338, allocations: 1.278 MB / 477 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.3338, allocations: 15.94 kB / 477 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.3338, allocations: 12 kB / 477 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.3338, allocations: 7.922 kB / 477 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004168/0.338, allocations: 2.209 MB / 479.3 MB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.338, allocations: 0 / 479.3 MB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007244/0.3387, allocations: 160 kB / 479.4 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008271/0.3395, allocations: 323.1 kB / 479.7 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.021e-05/0.3396, allocations: 31.98 kB / 479.8 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007833/0.3475, allocations: 7.536 MB / 487.3 MB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3475, allocations: 4.031 kB / 487.3 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003367/0.3508, allocations: 1.798 MB / 489.1 MB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003058/0.3511, allocations: 147.4 kB / 489.2 MB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.692e-05/0.3512, allocations: 28.06 kB / 489.3 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005124/0.3517, allocations: 35.98 kB / 489.3 MB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/0.3519, allocations: 112.7 kB / 489.4 MB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-05/0.352, allocations: 36 kB / 489.4 MB, free: 11.17 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002949/0.3523, allocations: 259.2 kB / 489.7 MB, free: 10.92 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3523, allocations: 0 / 489.7 MB, free: 10.92 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001178/0.3535, allocations: 312 kB / 490 MB, free: 10.62 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.0003141/0.3538, allocations: 179 kB / 490.2 MB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002887/0.3567, allocations: 1.55 MB / 491.7 MB, free: 8.828 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3567, allocations: 4.062 kB / 491.7 MB, free: 8.824 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.3584, allocations: 1.099 MB / 492.8 MB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005136/0.3589, allocations: 69.42 kB / 492.9 MB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.3626, allocations: 1.93 MB / 494.8 MB, free: 5.633 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005104/0.3631, allocations: 440 kB / 495.3 MB, free: 5.172 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003752/0.3635, allocations: 105.9 kB / 495.4 MB, free: 5.066 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.3637, allocations: 56.48 kB / 495.4 MB, free: 5.008 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.3637, allocations: 0 / 495.4 MB, free: 5.008 MB / 398.1 MB Notification: Performance of Templates: time 0.02294/0.3866, allocations: 11.17 MB / 0.4947 GB, free: 9.91 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.154635443352163]