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.001264/0.001264, allocations: 107 kB / 19.8 MB, free: 2.5 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.001396/0.001396, allocations: 218.4 kB / 23 MB, free: 5.578 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.401/1.401, allocations: 230.2 MB / 256.2 MB, free: 8.539 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.001877/0.001877, allocations: 67.89 kB / 376.5 MB, free: 3.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2888, allocations: 53.33 MB / 429.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008634/0.2974, allocations: 6.574 MB / 436.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005023/0.3024, allocations: 2.651 MB / 439 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003852/0.3028, allocations: 23.94 kB / 439 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002856/0.3057, allocations: 1.278 MB / 440.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.3069, allocations: 0.5357 MB / 440.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.3093, allocations: 1.269 MB / 442.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.3104, allocations: 1.071 MB / 443.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.3115, allocations: 0.7013 MB / 443.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005175/0.312, allocations: 450.3 kB / 444.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006525/0.3127, allocations: 0.5407 MB / 444.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.3128, allocations: 100 kB / 445 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000732/0.3136, allocations: 419.6 kB / 445.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.3138, allocations: 231.1 kB / 445.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004654/0.3142, allocations: 0.517 MB / 446.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.3159, allocations: 1.533 MB / 447.7 MB, free: 5.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3159, allocations: 4 kB / 447.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3159, allocations: 0 / 447.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.3159, allocations: 0 / 447.7 MB, free: 5.586 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.004167/0.3201, allocations: 1.677 MB / 449.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3201, allocations: 12.03 kB / 449.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003235/0.3234, allocations: 467.8 kB / 449.8 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006802/0.3241, allocations: 0.5023 MB / 450.3 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.673e-05/0.3241, allocations: 82.22 kB / 450.4 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.3243, allocations: 112 kB / 450.5 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.3261, allocations: 0.9744 MB / 451.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/0.3262, allocations: 0 / 451.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.953e-05/0.3263, allocations: 48 kB / 451.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.3263, allocations: 24 kB / 451.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.3282, allocations: 0.9691 MB / 452.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005901/0.3341, allocations: 3.761 MB / 456.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.3361, allocations: 1.493 MB / 457.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007626/0.3368, allocations: 388.3 kB / 458.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/0.337, allocations: 183.3 kB / 458.3 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008692/0.3379, allocations: 478.5 kB / 458.8 MB, free: 9.859 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.274e-06/0.3379, allocations: 0 / 458.8 MB, free: 9.859 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.008897/0.3468, allocations: 3.996 MB / 462.8 MB, free: 5.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.14e-05/0.3469, allocations: 145.5 kB / 462.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004621/0.3473, allocations: 409.5 kB / 463.3 MB, free: 5.172 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.974e-05/0.3474, allocations: 53.58 kB / 463.4 MB, free: 5.113 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.3477, allocations: 441 kB / 463.8 MB, free: 4.676 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/0.3481, allocations: 444.1 kB / 464.2 MB, free: 4.238 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000314/0.3484, allocations: 206.9 kB / 464.5 MB, free: 4.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.3486, allocations: 378.8 kB / 464.8 MB, free: 3.652 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000711/0.3493, allocations: 358.5 kB / 465.2 MB, free: 3.301 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008688/0.3502, allocations: 0.5312 MB / 465.7 MB, free: 2.707 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.3518, allocations: 0.9498 MB / 466.7 MB, free: 1.699 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3518, allocations: 4 kB / 466.7 MB, free: 1.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002637/0.3544, allocations: 1.374 MB / 468 MB, free: 312 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.3544, allocations: 8 kB / 468 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.3545, allocations: 4 kB / 468 MB, free: 300 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000888/0.3553, allocations: 353.9 kB / 468.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008263/0.3562, allocations: 199.7 kB / 468.6 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00873/0.3649, allocations: 8.496 MB / 477.1 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007329/0.3656, allocations: 43.98 kB / 477.1 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.273e-05/0.3657, allocations: 51.98 kB / 477.2 MB, free: 6.598 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.0004349/0.3661, allocations: 249.6 kB / 477.4 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.3663, allocations: 75.59 kB / 477.5 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002692/0.369, allocations: 1.285 MB / 478.8 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.369, allocations: 16 kB / 478.8 MB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.369, allocations: 4 kB / 478.8 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.369, allocations: 11.97 kB / 478.8 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004254/0.3732, allocations: 2.525 MB / 481.3 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3733, allocations: 0 / 481.3 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006775/0.3739, allocations: 155.9 kB / 481.5 MB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008058/0.3747, allocations: 330.2 kB / 481.8 MB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.955e-05/0.3748, allocations: 31.98 kB / 481.8 MB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008216/0.383, allocations: 8.112 MB / 490 MB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.383, allocations: 4 kB / 490 MB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00366/0.3867, allocations: 1.813 MB / 491.8 MB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/0.387, allocations: 228.5 kB / 492 MB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.905e-05/0.3871, allocations: 27.98 kB / 492 MB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005003/0.3876, allocations: 35.98 kB / 492.1 MB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.3878, allocations: 104.7 kB / 492.2 MB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.635e-05/0.3879, allocations: 36 kB / 492.2 MB, free: 6.836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003527/0.3882, allocations: 279.1 kB / 492.5 MB, free: 6.562 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3882, allocations: 0 / 492.5 MB, free: 6.562 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001195/0.3894, allocations: 323.9 kB / 492.8 MB, free: 6.246 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,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.0003121/0.3897, allocations: 171 kB / 492.9 MB, free: 6.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002697/0.3924, allocations: 1.553 MB / 494.5 MB, free: 4.465 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3924, allocations: 1.062 kB / 494.5 MB, free: 4.465 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001639/0.3941, allocations: 1.095 MB / 495.6 MB, free: 3.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005245/0.3946, allocations: 89.56 kB / 495.7 MB, free: 3.234 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/0.3981, allocations: 1.936 MB / 497.6 MB, free: 1.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006669/0.3988, allocations: 1.024 MB / 498.6 MB, free: 200 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003871/0.3992, allocations: 102.2 kB / 498.7 MB, free: 96 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.3993, allocations: 59.42 kB / 498.8 MB, free: 36 kB / 398.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3993, allocations: 0 / 498.8 MB, free: 36 kB / 398.1 MB Notification: Performance of Templates: time 0.02117/0.4205, allocations: 11.91 MB / 0.4987 GB, free: 4.137 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: 4.975130829028785]