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.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.001503/0.001503, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001647/0.001647, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.449/1.449, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 55.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4229, allocations: 49.17 MB / 396.3 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008914/0.4318, allocations: 6.522 MB / 402.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006714/0.4385, allocations: 2.618 MB / 405.5 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.4401, allocations: 28.16 kB / 405.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003691/0.4438, allocations: 1.284 MB / 406.8 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002959/0.4467, allocations: 0.5547 MB / 407.4 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003338/0.4501, allocations: 1.246 MB / 408.6 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002255/0.4523, allocations: 1.09 MB / 409.7 MB, free: 88 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.4539, allocations: 0.8004 MB / 410.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009063/0.4548, allocations: 462.7 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008743/0.4557, allocations: 0.5649 MB / 411.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.4558, allocations: 101.8 kB / 411.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.4572, allocations: 408.9 kB / 412 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002675/0.4574, allocations: 239.4 kB / 412.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000618/0.458, allocations: 0.5253 MB / 412.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002588/0.4606, allocations: 1.537 MB / 414.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4606, allocations: 1.25 kB / 414.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4606, allocations: 0 / 414.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.4607, allocations: 0 / 414.3 MB, free: 13.44 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.004869/0.4655, allocations: 1.709 MB / 416 MB, free: 12.26 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/0.4656, allocations: 14.17 kB / 416 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002662/0.4659, allocations: 171.3 kB / 416.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003955/0.4698, allocations: 0.5814 MB / 416.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009171/0.4707, allocations: 447 kB / 417.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.4708, allocations: 88.77 kB / 417.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.471, allocations: 115.6 kB / 417.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/0.4733, allocations: 1.014 MB / 418.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.899e-05/0.4733, allocations: 5.266 kB / 418.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.4734, allocations: 45.47 kB / 418.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.112e-05/0.4734, allocations: 31.89 kB / 418.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/0.4758, allocations: 1.031 MB / 419.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007076/0.4829, allocations: 3.588 MB / 423.1 MB, free: 7.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.4849, allocations: 0.8739 MB / 424 MB, free: 6.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008611/0.4858, allocations: 398.1 kB / 424.4 MB, free: 6.809 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.4859, allocations: 32.86 kB / 424.4 MB, free: 6.789 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/0.4869, allocations: 478.1 kB / 424.9 MB, free: 6.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 3.466e-06/0.4869, allocations: 0 / 424.9 MB, free: 6.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=127): time 0.009243/0.4962, allocations: 3.684 MB / 428.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.4963, allocations: 149.5 kB / 428.7 MB, free: 2.527 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005659/0.4969, allocations: 417.8 kB / 429.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.274e-05/0.4969, allocations: 45.7 kB / 429.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/0.4973, allocations: 448.9 kB / 429.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003605/0.4977, allocations: 456.1 kB / 430.1 MB, free: 1.164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003182/0.498, allocations: 218.9 kB / 430.3 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.4982, allocations: 374.7 kB / 430.6 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007165/0.4989, allocations: 362.5 kB / 431 MB, free: 220 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009353/0.4999, allocations: 0.5838 MB / 431.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.5016, allocations: 0.9814 MB / 432.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.5016, allocations: 4 kB / 432.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002849/0.5044, allocations: 1.417 MB / 434 MB, free: 13.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.5045, allocations: 8 kB / 434 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.5045, allocations: 4 kB / 434 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.5055, allocations: 355.2 kB / 434.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009269/0.5064, allocations: 219.6 kB / 434.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009345/0.5158, allocations: 8.08 MB / 442.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009179/0.5167, allocations: 51.98 kB / 442.7 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/0.5168, allocations: 51.97 kB / 442.7 MB, free: 3.828 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.0006021/0.5174, allocations: 269.6 kB / 443 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.5176, allocations: 75.53 kB / 443.1 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002925/0.5205, allocations: 1.305 MB / 444.4 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.5206, allocations: 19.92 kB / 444.4 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.75e-05/0.5206, allocations: 8 kB / 444.4 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.5206, allocations: 3.984 kB / 444.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005227/0.5258, allocations: 2.506 MB / 446.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.5258, allocations: 4 kB / 446.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007295/0.5266, allocations: 155.8 kB / 447.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008598/0.5274, allocations: 323.1 kB / 447.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-05/0.5275, allocations: 31.98 kB / 447.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009269/0.5368, allocations: 7.698 MB / 455.1 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.597e-06/0.5368, allocations: 11.88 kB / 455.1 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003946/0.5407, allocations: 1.818 MB / 456.9 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005313/0.5413, allocations: 151.5 kB / 457.1 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.5414, allocations: 23.98 kB / 457.1 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000629/0.5421, allocations: 39.98 kB / 457.1 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002431/0.5423, allocations: 108.7 kB / 457.3 MB, free: 4.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.047e-05/0.5424, allocations: 32 kB / 457.3 MB, free: 4.637 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004124/0.5428, allocations: 283.1 kB / 457.6 MB, free: 4.359 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5428, allocations: 0 / 457.6 MB, free: 4.359 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001656/0.5445, allocations: 327.9 kB / 457.9 MB, free: 4.039 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.004285/0.5487, allocations: 2.435 MB / 460.3 MB, free: 1.543 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003171/0.5519, allocations: 1.57 MB / 461.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.5519, allocations: 4.062 kB / 461.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001823/0.5537, allocations: 1.106 MB / 463 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007328/0.5545, allocations: 85.52 kB / 463.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.5684, allocations: 7.514 MB / 470.6 MB, free: 6.859 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000983/0.5694, allocations: 1.032 MB / 471.6 MB, free: 5.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004968/0.5699, allocations: 106.4 kB / 471.7 MB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005642/0.5705, allocations: 359.3 kB / 472.1 MB, free: 5.34 MB / 382.1 MB Notification: Performance of SimCode: time 1.263e-06/0.5705, allocations: 0 / 472.1 MB, free: 5.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07857/0.649, allocations: 19.6 MB / 491.7 MB, free: 1.668 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.7/20.35, allocations: 0 / 491.7 MB, free: 1.668 MB / 398.1 MB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/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: 23.21747188596055]