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.001771/0.001771, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.002117/0.002117, allocations: 185 kB / 24.46 MB, free: 3.863 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.44/1.44, allocations: 225.7 MB / 253.3 MB, free: 12.83 MB / 206.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.001818/0.001818, allocations: 55.91 kB / 371.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.258, allocations: 52.17 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008338/0.2663, allocations: 5.824 MB / 429.6 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004951/0.2712, allocations: 2.375 MB / 432 MB, free: 6.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007506/0.272, allocations: 16 kB / 432 MB, free: 6.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003242/0.2752, allocations: 1.2 MB / 433.2 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.2773, allocations: 0.6639 MB / 433.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.2797, allocations: 1.043 MB / 434.9 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.2812, allocations: 1.059 MB / 436 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.2825, allocations: 0.7584 MB / 436.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006333/0.2831, allocations: 458.3 kB / 437.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007003/0.2838, allocations: 485.7 kB / 437.7 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001519/0.2839, allocations: 100 kB / 437.8 MB, free: 444 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008562/0.2848, allocations: 383.6 kB / 438.1 MB, free: 60 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002245/0.285, allocations: 231.2 kB / 438.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004326/0.2855, allocations: 430 kB / 438.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.2873, allocations: 1.521 MB / 440.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2873, allocations: 3.938 kB / 440.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2873, allocations: 0 / 440.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.2873, allocations: 0 / 440.3 MB, free: 13.88 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.004471/0.2918, allocations: 1.681 MB / 442 MB, free: 12.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2918, allocations: 8.031 kB / 442 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003176/0.295, allocations: 487.8 kB / 442.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008165/0.2958, allocations: 436.1 kB / 442.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.362e-05/0.2959, allocations: 82.22 kB / 443 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.2961, allocations: 116 kB / 443.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.298, allocations: 1.017 MB / 444.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.208e-05/0.2981, allocations: 7.984 kB / 444.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.641e-05/0.2982, allocations: 40 kB / 444.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.2982, allocations: 35.98 kB / 444.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.3002, allocations: 0.9534 MB / 445.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005824/0.306, allocations: 2.921 MB / 448.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.3078, allocations: 0.8165 MB / 448.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008128/0.3086, allocations: 392.3 kB / 449.3 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-05/0.3087, allocations: 24.98 kB / 449.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009193/0.3096, allocations: 0.5096 MB / 449.8 MB, free: 4.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 3.256e-06/0.3096, allocations: 0 / 449.8 MB, free: 4.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.009321/0.3189, allocations: 3.695 MB / 453.5 MB, free: 372 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.319, allocations: 145.5 kB / 453.6 MB, free: 192 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004778/0.3195, allocations: 369.5 kB / 454 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.669e-05/0.3196, allocations: 49.69 kB / 454.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.3199, allocations: 437 kB / 454.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003625/0.3203, allocations: 444.1 kB / 454.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003097/0.3206, allocations: 206.9 kB / 455.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.3208, allocations: 374.8 kB / 455.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007382/0.3215, allocations: 350.5 kB / 455.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009374/0.3225, allocations: 0.5892 MB / 456.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.3242, allocations: 0.942 MB / 457.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.3242, allocations: 7.938 kB / 457.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002681/0.3269, allocations: 1.347 MB / 458.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.3269, allocations: 11.94 kB / 458.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.3269, allocations: 4 kB / 458.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009345/0.3278, allocations: 349.7 kB / 459.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008462/0.3287, allocations: 211.7 kB / 459.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008641/0.3373, allocations: 7.899 MB / 467.2 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000823/0.3382, allocations: 47.98 kB / 467.2 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-05/0.3382, allocations: 44 kB / 467.3 MB, free: 1.973 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.0004505/0.3387, allocations: 249.6 kB / 467.5 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.3388, allocations: 75.53 kB / 467.6 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002745/0.3415, allocations: 1.289 MB / 468.9 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.3416, allocations: 15.94 kB / 468.9 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.3416, allocations: 8 kB / 468.9 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.3416, allocations: 7.984 kB / 468.9 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004364/0.346, allocations: 2.198 MB / 471.1 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/0.346, allocations: 4 kB / 471.1 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007085/0.3467, allocations: 152 kB / 471.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008745/0.3475, allocations: 331.2 kB / 471.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.52e-05/0.3476, allocations: 27.98 kB / 471.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008132/0.3557, allocations: 7.538 MB / 479.1 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.3558, allocations: 4 kB / 479.1 MB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003542/0.3593, allocations: 1.802 MB / 480.9 MB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004217/0.3597, allocations: 143.5 kB / 481.1 MB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.3598, allocations: 28 kB / 481.1 MB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005039/0.3603, allocations: 35.98 kB / 481.2 MB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/0.3606, allocations: 104.7 kB / 481.3 MB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-05/0.3606, allocations: 35.98 kB / 481.3 MB, free: 3.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002917/0.3609, allocations: 251.2 kB / 481.5 MB, free: 3.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3609, allocations: 0 / 481.5 MB, free: 3.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001195/0.3621, allocations: 312 kB / 481.8 MB, free: 2.844 MB / 382.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.0003362/0.3624, allocations: 186.3 kB / 482 MB, free: 2.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002902/0.3653, allocations: 1.542 MB / 483.6 MB, free: 1.059 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.3654, allocations: 8.25 kB / 483.6 MB, free: 1.051 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00181/0.3672, allocations: 1.107 MB / 484.7 MB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006213/0.3678, allocations: 77.36 kB / 484.8 MB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/0.3717, allocations: 1.988 MB / 486.7 MB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000512/0.3722, allocations: 428 kB / 487.2 MB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/0.3724, allocations: 63.42 kB / 487.2 MB, free: 13.27 MB / 398.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3724, allocations: 4 kB / 487.2 MB, free: 13.26 MB / 398.1 MB Notification: Performance of Templates: time 0.0323/0.4047, allocations: 26.61 MB / 0.5018 GB, free: 2.59 MB / 414.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.795052241068333]