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.00128/0.00128, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001395/0.001395, allocations: 210.1 kB / 23.74 MB, free: 4.672 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.533/1.533, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.001614/0.001614, allocations: 51.91 kB / 378.3 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.237, allocations: 53.36 MB / 431.6 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008652/0.2456, allocations: 6.572 MB / 438.2 MB, free: 304 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004999/0.2506, allocations: 2.663 MB / 440.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005088/0.2511, allocations: 20 kB / 440.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003003/0.2541, allocations: 1.275 MB / 442.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.2556, allocations: 0.5379 MB / 442.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.2581, allocations: 1.275 MB / 444 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.2595, allocations: 1.079 MB / 445.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.2607, allocations: 0.7908 MB / 445.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005556/0.2612, allocations: 450.4 kB / 446.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007106/0.2619, allocations: 0.5524 MB / 446.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.2621, allocations: 96 kB / 446.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008764/0.2629, allocations: 415.6 kB / 447.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.2631, allocations: 239.1 kB / 447.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00049/0.2636, allocations: 0.5169 MB / 448.1 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001974/0.2656, allocations: 1.529 MB / 449.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2656, allocations: 0 / 449.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2656, allocations: 0 / 449.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.2656, allocations: 0 / 449.6 MB, free: 4.832 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.004457/0.2701, allocations: 1.7 MB / 451.3 MB, free: 3.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.2701, allocations: 12.03 kB / 451.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003301/0.2734, allocations: 479.8 kB / 451.8 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000804/0.2742, allocations: 445.2 kB / 452.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.302e-05/0.2743, allocations: 86.22 kB / 452.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.2745, allocations: 115.9 kB / 452.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.2764, allocations: 0.9783 MB / 453.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.2765, allocations: 0 / 453.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.2766, allocations: 48 kB / 453.5 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/0.2766, allocations: 24 kB / 453.5 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.2785, allocations: 0.9614 MB / 454.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006175/0.2847, allocations: 3.508 MB / 457.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.2865, allocations: 0.8279 MB / 458.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008064/0.2873, allocations: 391.4 kB / 459.2 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.2874, allocations: 37.03 kB / 459.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009206/0.2883, allocations: 466.5 kB / 459.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.465e-06/0.2883, allocations: 0 / 459.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009373/0.2977, allocations: 3.703 MB / 463.4 MB, free: 6.742 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.927e-05/0.2978, allocations: 141.5 kB / 463.5 MB, free: 6.574 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005095/0.2983, allocations: 409.5 kB / 463.9 MB, free: 6.168 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.769e-05/0.2984, allocations: 49.7 kB / 463.9 MB, free: 6.113 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003654/0.2987, allocations: 444.9 kB / 464.4 MB, free: 5.672 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003561/0.2991, allocations: 440.1 kB / 464.8 MB, free: 5.238 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003205/0.2994, allocations: 210.9 kB / 465 MB, free: 5.027 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.2996, allocations: 370.8 kB / 465.4 MB, free: 4.656 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007361/0.3003, allocations: 350.5 kB / 465.7 MB, free: 4.312 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009115/0.3013, allocations: 0.5351 MB / 466.2 MB, free: 3.711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.303, allocations: 0.9303 MB / 467.2 MB, free: 2.727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.303, allocations: 7.938 kB / 467.2 MB, free: 2.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002806/0.3058, allocations: 1.371 MB / 468.6 MB, free: 1.328 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.3058, allocations: 8 kB / 468.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.3058, allocations: 4 kB / 468.6 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009742/0.3068, allocations: 347.2 kB / 468.9 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009211/0.3077, allocations: 203.7 kB / 469.1 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008809/0.3165, allocations: 8.073 MB / 477.2 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000788/0.3173, allocations: 43.98 kB / 477.2 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.281e-05/0.3174, allocations: 43.98 kB / 477.3 MB, free: 8.164 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.0005298/0.3179, allocations: 269.6 kB / 477.5 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.318, allocations: 75.53 kB / 477.6 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002788/0.3208, allocations: 1.278 MB / 478.9 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.3208, allocations: 12 kB / 478.9 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.3209, allocations: 8 kB / 478.9 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.3209, allocations: 7.984 kB / 478.9 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004479/0.3253, allocations: 2.486 MB / 481.4 MB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.3254, allocations: 4 kB / 481.4 MB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007329/0.3261, allocations: 147.8 kB / 481.5 MB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008798/0.327, allocations: 346.1 kB / 481.9 MB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.565e-05/0.327, allocations: 31.98 kB / 481.9 MB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008458/0.3355, allocations: 7.694 MB / 489.6 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3355, allocations: 0 / 489.6 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003445/0.3389, allocations: 1.81 MB / 491.4 MB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003314/0.3393, allocations: 151.5 kB / 491.6 MB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.3394, allocations: 28 kB / 491.6 MB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005365/0.3399, allocations: 35.98 kB / 491.6 MB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/0.3401, allocations: 112.7 kB / 491.7 MB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-05/0.3402, allocations: 39.98 kB / 491.8 MB, free: 9.035 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003408/0.3405, allocations: 275.2 kB / 492 MB, free: 8.766 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3405, allocations: 0 / 492 MB, free: 8.766 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001215/0.3417, allocations: 323.9 kB / 492.4 MB, free: 8.449 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.0003183/0.3421, allocations: 175 kB / 492.5 MB, free: 8.266 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002794/0.3448, allocations: 1.546 MB / 494.1 MB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3449, allocations: 0 / 494.1 MB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001769/0.3466, allocations: 1.103 MB / 495.2 MB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.3472, allocations: 77.58 kB / 495.3 MB, free: 5.441 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003665/0.3508, allocations: 1.933 MB / 497.2 MB, free: 3.465 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006864/0.3515, allocations: 1.032 MB / 498.2 MB, free: 2.406 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003804/0.3519, allocations: 106.2 kB / 498.3 MB, free: 2.301 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.3521, allocations: 55.42 kB / 498.4 MB, free: 2.246 MB / 398.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3521, allocations: 0 / 498.4 MB, free: 2.246 MB / 398.1 MB Notification: Performance of Templates: time 0.02292/0.375, allocations: 12.18 MB / 0.4986 GB, free: 6.078 MB / 414.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/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_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: 5.195157900918275]