Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001534/0.001534, allocations: 106 kB / 21.18 MB, free: 0.707 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.001747/0.001747, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 55.16 kB / 347.7 MB, free: 9.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3167, allocations: 49.16 MB / 396.8 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008654/0.3254, allocations: 6.501 MB / 403.3 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005854/0.3312, allocations: 2.621 MB / 405.9 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.3325, allocations: 19.97 kB / 406 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003342/0.3359, allocations: 1.295 MB / 407.3 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002517/0.3384, allocations: 0.7169 MB / 408 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002647/0.341, allocations: 1.109 MB / 409.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002046/0.3431, allocations: 1.096 MB / 410.2 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001501/0.3446, allocations: 0.701 MB / 410.9 MB, free: 132 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.3457, allocations: 463.1 kB / 411.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.3469, allocations: 0.5573 MB / 411.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.347, allocations: 97.97 kB / 412 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.3483, allocations: 408.6 kB / 412.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.3485, allocations: 239.5 kB / 412.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000631/0.3492, allocations: 0.5403 MB / 413.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00245/0.3516, allocations: 1.522 MB / 414.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3516, allocations: 0 / 414.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3516, allocations: 0 / 414.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.903e-05/0.3517, allocations: 1.562 kB / 414.7 MB, free: 13.89 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.005333/0.357, allocations: 1.709 MB / 416.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.357, allocations: 8.5 kB / 416.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004008/0.3611, allocations: 0.5773 MB / 417 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.3621, allocations: 458 kB / 417.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-05/0.3622, allocations: 85.61 kB / 417.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.3623, allocations: 111.1 kB / 417.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/0.3645, allocations: 1.017 MB / 418.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.3645, allocations: 1.156 kB / 418.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.3646, allocations: 45.06 kB / 418.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.3646, allocations: 28.12 kB / 418.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/0.3667, allocations: 1.033 MB / 419.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007179/0.3739, allocations: 3.575 MB / 423.3 MB, free: 8.031 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/0.3758, allocations: 0.8809 MB / 424.2 MB, free: 7.598 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008603/0.3767, allocations: 409.4 kB / 424.6 MB, free: 7.285 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.3768, allocations: 24.91 kB / 424.6 MB, free: 7.258 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.3778, allocations: 482.4 kB / 425.1 MB, free: 6.762 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 2.856e-06/0.3778, allocations: 4 kB / 425.1 MB, free: 6.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=127): time 0.009313/0.3872, allocations: 3.672 MB / 428.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.3873, allocations: 145.5 kB / 428.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006217/0.3879, allocations: 409.8 kB / 429.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.614e-05/0.388, allocations: 49.7 kB / 429.4 MB, free: 2.414 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000435/0.3884, allocations: 452.9 kB / 429.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004172/0.3888, allocations: 456.1 kB / 430.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003382/0.3892, allocations: 218.9 kB / 430.5 MB, free: 1.297 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.3894, allocations: 382.7 kB / 430.8 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007652/0.3901, allocations: 358.5 kB / 431.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.3911, allocations: 0.5876 MB / 431.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.3929, allocations: 0.9814 MB / 432.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.3929, allocations: 8 kB / 432.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.00279/0.3957, allocations: 1.413 MB / 434.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.3957, allocations: 8 kB / 434.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.3957, allocations: 7.938 kB / 434.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000938/0.3966, allocations: 359.2 kB / 434.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009226/0.3976, allocations: 215.6 kB / 434.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009352/0.4069, allocations: 8.08 MB / 442.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.408, allocations: 51.98 kB / 442.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-05/0.4081, allocations: 44 kB / 442.9 MB, free: 4.176 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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.0006404/0.4088, allocations: 269.5 kB / 443.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.4089, allocations: 79.59 kB / 443.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002709/0.4116, allocations: 1.298 MB / 444.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.4117, allocations: 12 kB / 444.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/0.4117, allocations: 11.94 kB / 444.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.4117, allocations: 7.969 kB / 444.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004525/0.4162, allocations: 2.498 MB / 447.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.4162, allocations: 0 / 447.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007079/0.4169, allocations: 160 kB / 447.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008373/0.4178, allocations: 335.1 kB / 447.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.663e-05/0.4178, allocations: 31.98 kB / 447.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008485/0.4263, allocations: 7.699 MB / 455.3 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.4263, allocations: 3.938 kB / 455.3 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003486/0.4298, allocations: 1.822 MB / 457.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003828/0.4302, allocations: 151.4 kB / 457.3 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.4303, allocations: 24 kB / 457.3 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005251/0.4308, allocations: 43.98 kB / 457.3 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/0.4311, allocations: 104.7 kB / 457.4 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.62e-05/0.4311, allocations: 39.98 kB / 457.5 MB, free: 4.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003798/0.4315, allocations: 275.2 kB / 457.8 MB, free: 4.711 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4315, allocations: 0 / 457.8 MB, free: 4.711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00142/0.4329, allocations: 323.9 kB / 458.1 MB, free: 4.395 MB / 366.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) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * 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.0003546/0.4333, allocations: 175 kB / 458.2 MB, free: 4.215 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003043/0.4363, allocations: 1.576 MB / 459.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4363, allocations: 0 / 459.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001784/0.4381, allocations: 1.107 MB / 460.9 MB, free: 1.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005932/0.4387, allocations: 85.52 kB / 461 MB, free: 1.348 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00422/0.4429, allocations: 2.018 MB / 463 MB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007658/0.4437, allocations: 1.025 MB / 464.1 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004501/0.4441, allocations: 110.4 kB / 464.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.4443, allocations: 59.42 kB / 464.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4443, allocations: 0 / 464.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of Templates: time 0.02357/0.4679, allocations: 12.1 MB / 476.3 MB, free: 1.938 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.147289431653917]