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.0009266/0.0009266, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004286/0.004286, allocations: 162 kB / 24.7 MB, free: 9.414 MB / 18.57 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 0.8602/0.8602, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.563e-06/1.563e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.753e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.004653/0.00467, allocations: 5.866 MB / 331.7 MB, free: 9.531 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.006991, allocations: 2.476 MB / 334.2 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.007223, allocations: 23.94 kB / 334.2 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.008523, allocations: 1.236 MB / 335.4 MB, free: 5.781 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006884/0.009211, allocations: 0.5508 MB / 336 MB, free: 5.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.0105, allocations: 1.186 MB / 337.2 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006777/0.01117, allocations: 1.117 MB / 338.3 MB, free: 2.918 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009037/0.01208, allocations: 0.7739 MB / 339.1 MB, free: 2.125 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004564/0.01253, allocations: 0.647 MB / 339.7 MB, free: 1.477 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003607/0.01289, allocations: 426.8 kB / 340.1 MB, free: 1.055 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.091e-05/0.01298, allocations: 96 kB / 340.2 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.01337, allocations: 407.3 kB / 340.6 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.01349, allocations: 235.1 kB / 340.8 MB, free: 340 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.01371, allocations: 355.1 kB / 341.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.01476, allocations: 1.577 MB / 342.8 MB, free: 14.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.01476, allocations: 0 / 342.8 MB, free: 14.4 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01476, allocations: 3.938 kB / 342.8 MB, free: 14.4 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.01477, allocations: 0 / 342.8 MB, free: 14.4 MB / 314.7 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.002227/0.017, allocations: 1.688 MB / 344.5 MB, free: 12.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.01704, allocations: 8.031 kB / 344.5 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.01856, allocations: 479.8 kB / 344.9 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000501/0.01906, allocations: 436.7 kB / 345.4 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.726e-05/0.01912, allocations: 82.59 kB / 345.4 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.01923, allocations: 116.1 kB / 345.6 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.02032, allocations: 1.021 MB / 346.6 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.02035, allocations: 15.94 kB / 346.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.906e-05/0.02041, allocations: 40 kB / 346.6 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.02042, allocations: 28 kB / 346.7 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.02153, allocations: 0.9496 MB / 347.6 MB, free: 9.441 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003148/0.02467, allocations: 2.948 MB / 350.6 MB, free: 6.363 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009575/0.02563, allocations: 0.8212 MB / 351.4 MB, free: 5.539 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000449/0.02608, allocations: 396.2 kB / 351.8 MB, free: 5.152 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.409e-05/0.02614, allocations: 32.97 kB / 351.8 MB, free: 5.121 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005284/0.02667, allocations: 0.5174 MB / 352.3 MB, free: 4.562 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 1.954e-06/0.02667, allocations: 4 kB / 352.3 MB, free: 4.559 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.004935/0.03161, allocations: 3.675 MB / 356 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.095e-05/0.0317, allocations: 145.5 kB / 356.1 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.03197, allocations: 397.4 kB / 356.5 MB, free: 280 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.03201, allocations: 45.7 kB / 356.6 MB, free: 228 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.03225, allocations: 437.5 kB / 357 MB, free: 15.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.03246, allocations: 436.2 kB / 357.4 MB, free: 15.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.03264, allocations: 206.9 kB / 357.6 MB, free: 15.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.03274, allocations: 374.8 kB / 358 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/0.03317, allocations: 350.5 kB / 358.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005413/0.03371, allocations: 0.5814 MB / 358.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009885/0.0347, allocations: 0.9349 MB / 359.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.0347, allocations: 0 / 359.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001543/0.03624, allocations: 1.359 MB / 361.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.03626, allocations: 8 kB / 361.2 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.03627, allocations: 4 kB / 361.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005015/0.03677, allocations: 355.1 kB / 361.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004159/0.03719, allocations: 211.6 kB / 361.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005042/0.04223, allocations: 7.875 MB / 369.6 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.04254, allocations: 51.88 kB / 369.7 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.656e-05/0.04259, allocations: 51.98 kB / 369.7 MB, free: 2.457 MB / 330.7 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.0002558/0.04284, allocations: 253.7 kB / 370 MB, free: 2.199 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.678e-05/0.04291, allocations: 71.58 kB / 370.1 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.04439, allocations: 1.278 MB / 371.3 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.04439, allocations: 15.94 kB / 371.4 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.0444, allocations: 8 kB / 371.4 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.04441, allocations: 11.91 kB / 371.4 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/0.04706, allocations: 2.202 MB / 373.6 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.04707, allocations: 0 / 373.6 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000333/0.0474, allocations: 155.7 kB / 373.7 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004433/0.04784, allocations: 336.6 kB / 374.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.04788, allocations: 31.98 kB / 374.1 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004401/0.05228, allocations: 7.522 MB / 381.6 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.05229, allocations: 7.922 kB / 381.6 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.05417, allocations: 1.794 MB / 383.4 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.05436, allocations: 147.5 kB / 383.6 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.05441, allocations: 24 kB / 383.6 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.05464, allocations: 31.98 kB / 383.6 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.05478, allocations: 116.9 kB / 383.7 MB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.05482, allocations: 39.98 kB / 383.8 MB, free: 3.879 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000177/0.055, allocations: 255.2 kB / 384 MB, free: 3.633 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.055, allocations: 0 / 384 MB, free: 3.633 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007839/0.05578, allocations: 319.9 kB / 384.3 MB, free: 3.32 MB / 346.7 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.0002441/0.05603, allocations: 182.2 kB / 384.5 MB, free: 3.137 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.0576, allocations: 1.552 MB / 386.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.0576, allocations: 0 / 386.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.05872, allocations: 1.104 MB / 387.2 MB, free: 380 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.05906, allocations: 77.42 kB / 387.2 MB, free: 304 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.06117, allocations: 1.879 MB / 389.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.06144, allocations: 432 kB / 389.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.0616, allocations: 76.47 kB / 389.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.0616, allocations: 0 / 389.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of Templates: time 0.01768/0.07928, allocations: 27.33 MB / 416.9 MB, free: 2.445 MB / 378.7 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.669819519855082]