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.00186/0.00186, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002063/0.002063, allocations: 215.6 kB / 24.48 MB, free: 3.844 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.458/1.458, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001605/0.001605, allocations: 47.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2458, allocations: 53.37 MB / 432.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008482/0.2543, allocations: 5.842 MB / 438.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005216/0.2595, allocations: 2.465 MB / 440.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007061/0.2602, allocations: 23.94 kB / 440.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003308/0.2635, allocations: 1.19 MB / 441.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.2654, allocations: 0.5153 MB / 442.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.268, allocations: 1.193 MB / 443.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001475/0.2695, allocations: 1.075 MB / 444.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.2707, allocations: 0.7662 MB / 445.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006478/0.2714, allocations: 454.4 kB / 445.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006953/0.2721, allocations: 497.6 kB / 446.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.2722, allocations: 96 kB / 446.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008888/0.2731, allocations: 395.6 kB / 446.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.2733, allocations: 235.1 kB / 447.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004405/0.2738, allocations: 441.9 kB / 447.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001929/0.2757, allocations: 1.532 MB / 449 MB, free: 5.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2757, allocations: 0 / 449 MB, free: 5.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2757, allocations: 0 / 449 MB, free: 5.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.2757, allocations: 0 / 449 MB, free: 5.938 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.004482/0.2802, allocations: 1.696 MB / 450.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2802, allocations: 8.031 kB / 450.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003245/0.2835, allocations: 475.8 kB / 451.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008355/0.2843, allocations: 453.2 kB / 451.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.44e-05/0.2844, allocations: 82.22 kB / 451.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.2846, allocations: 120 kB / 451.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.2865, allocations: 1.025 MB / 452.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.885e-05/0.2866, allocations: 4 kB / 452.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.2867, allocations: 40 kB / 452.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/0.2867, allocations: 28 kB / 452.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/0.2887, allocations: 0.9612 MB / 453.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005904/0.2946, allocations: 2.933 MB / 456.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.2964, allocations: 0.8094 MB / 457.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000804/0.2972, allocations: 400.3 kB / 458 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.2973, allocations: 36.91 kB / 458 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009508/0.2983, allocations: 0.5136 MB / 458.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.966e-06/0.2983, allocations: 0 / 458.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009807/0.3081, allocations: 3.696 MB / 462.3 MB, free: 8.359 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.3082, allocations: 141.5 kB / 462.4 MB, free: 8.188 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005087/0.3087, allocations: 389.5 kB / 462.8 MB, free: 7.801 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.115e-05/0.3088, allocations: 45.7 kB / 462.8 MB, free: 7.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000382/0.3092, allocations: 437 kB / 463.2 MB, free: 7.316 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000385/0.3096, allocations: 452.1 kB / 463.7 MB, free: 6.871 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003519/0.3099, allocations: 210.8 kB / 463.9 MB, free: 6.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.3101, allocations: 374.8 kB / 464.3 MB, free: 6.285 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007748/0.3109, allocations: 350.5 kB / 464.6 MB, free: 5.941 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.312, allocations: 0.5853 MB / 465.2 MB, free: 5.281 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.3138, allocations: 0.9265 MB / 466.1 MB, free: 4.305 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3138, allocations: 0 / 466.1 MB, free: 4.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002793/0.3166, allocations: 1.359 MB / 467.5 MB, free: 2.922 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.3166, allocations: 15.88 kB / 467.5 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.3166, allocations: 7.984 kB / 467.5 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009179/0.3176, allocations: 343.2 kB / 467.8 MB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008497/0.3184, allocations: 207.7 kB / 468 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009683/0.3281, allocations: 7.89 MB / 475.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008207/0.3289, allocations: 52.11 kB / 476 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-05/0.329, allocations: 47.98 kB / 476 MB, free: 9.965 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.0004862/0.3295, allocations: 253.6 kB / 476.3 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.3296, allocations: 71.58 kB / 476.3 MB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002747/0.3324, allocations: 1.285 MB / 477.6 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.3324, allocations: 15.94 kB / 477.6 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.3324, allocations: 8 kB / 477.7 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.3324, allocations: 7.969 kB / 477.7 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004454/0.3369, allocations: 2.209 MB / 479.9 MB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.3369, allocations: 0 / 479.9 MB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007099/0.3376, allocations: 151.8 kB / 480 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008664/0.3385, allocations: 329.1 kB / 480.3 MB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.847e-05/0.3385, allocations: 24 kB / 480.4 MB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008656/0.3472, allocations: 7.545 MB / 487.9 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3472, allocations: 0 / 487.9 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003721/0.3509, allocations: 1.81 MB / 489.7 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000412/0.3513, allocations: 147.5 kB / 489.9 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.3514, allocations: 24 kB / 489.9 MB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005034/0.3519, allocations: 31.98 kB / 489.9 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/0.3522, allocations: 104.7 kB / 490 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-05/0.3523, allocations: 43.98 kB / 490.1 MB, free: 11.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000325/0.3526, allocations: 255.2 kB / 490.3 MB, free: 11.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3526, allocations: 0 / 490.3 MB, free: 11.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001242/0.3538, allocations: 323.9 kB / 490.6 MB, free: 10.8 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.0003382/0.3542, allocations: 171 kB / 490.8 MB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003083/0.3573, allocations: 1.557 MB / 492.3 MB, free: 9.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.3573, allocations: 0 / 492.3 MB, free: 9.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001966/0.3592, allocations: 1.107 MB / 493.5 MB, free: 7.863 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006274/0.3599, allocations: 69.42 kB / 493.5 MB, free: 7.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/0.3638, allocations: 1.975 MB / 495.5 MB, free: 5.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000521/0.3644, allocations: 436 kB / 495.9 MB, free: 5.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/0.3646, allocations: 71.41 kB / 496 MB, free: 5.242 MB / 398.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3646, allocations: 0 / 496 MB, free: 5.242 MB / 398.1 MB Notification: Performance of Templates: time 0.03456/0.3992, allocations: 27.31 MB / 0.511 GB, free: 9.859 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: 9.168729653581977]