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.0009887/0.0009887, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.00123/0.00123, allocations: 164.2 kB / 25.45 MB, free: 9.348 MB / 18.57 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 0.8971/0.8971, allocations: 158.6 MB / 187.2 MB, free: 3.055 MB / 170.7 MB " [Timeout remaining time 179] 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: 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: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.611e-05, allocations: 2.281 kB / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007048/0.007074, allocations: 5.776 MB / 305.5 MB, free: 1.102 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00334/0.01041, allocations: 2.438 MB / 307.9 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004469/0.01086, allocations: 19.94 kB / 307.9 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.01241, allocations: 1.255 MB / 309.2 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.01342, allocations: 0.5549 MB / 309.7 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.01468, allocations: 1.183 MB / 310.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009938/0.01567, allocations: 1.136 MB / 312.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009191/0.01659, allocations: 0.7895 MB / 312.8 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006037/0.0172, allocations: 0.6548 MB / 313.5 MB, free: 9.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004437/0.01764, allocations: 422.8 kB / 313.9 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.01774, allocations: 96 kB / 314 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006159/0.01836, allocations: 399.3 kB / 314.4 MB, free: 8.121 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.01849, allocations: 243 kB / 314.6 MB, free: 7.883 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.01875, allocations: 367.1 kB / 315 MB, free: 7.523 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.02014, allocations: 1.561 MB / 316.6 MB, free: 5.957 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.02014, allocations: 4 kB / 316.6 MB, free: 5.953 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.02014, allocations: 0 / 316.6 MB, free: 5.953 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.433e-05/0.02017, allocations: 4 kB / 316.6 MB, free: 5.949 MB / 298.7 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.002702/0.02287, allocations: 1.704 MB / 318.3 MB, free: 4.207 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.02291, allocations: 8.031 kB / 318.3 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/0.02474, allocations: 0.5817 MB / 318.9 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/0.02525, allocations: 443.5 kB / 319.3 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.294e-05/0.0253, allocations: 82.67 kB / 319.4 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.02542, allocations: 123.9 kB / 319.5 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.0266, allocations: 1.061 MB / 320.6 MB, free: 1.848 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.02663, allocations: 0 / 320.6 MB, free: 1.848 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-05/0.02669, allocations: 48 kB / 320.6 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.02671, allocations: 32 kB / 320.6 MB, free: 1.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.02791, allocations: 1.02 MB / 321.7 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003523/0.03143, allocations: 3.01 MB / 324.7 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.03248, allocations: 0.8666 MB / 325.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004579/0.03294, allocations: 403.5 kB / 325.9 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.214e-05/0.033, allocations: 20.98 kB / 325.9 MB, free: 12.33 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005523/0.03355, allocations: 0.5253 MB / 326.5 MB, free: 11.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=98): time 2.134e-06/0.03355, allocations: 0 / 326.5 MB, free: 11.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=127): time 0.004852/0.03841, allocations: 3.684 MB / 330.2 MB, free: 8.043 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/0.03848, allocations: 141.5 kB / 330.3 MB, free: 7.875 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.03877, allocations: 397.3 kB / 330.7 MB, free: 7.477 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.568e-05/0.03882, allocations: 49.7 kB / 330.7 MB, free: 7.422 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.03902, allocations: 456.8 kB / 331.2 MB, free: 6.969 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.03923, allocations: 448.1 kB / 331.6 MB, free: 6.527 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.03942, allocations: 206.9 kB / 331.8 MB, free: 6.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.03953, allocations: 382.8 kB / 332.2 MB, free: 5.938 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004421/0.03997, allocations: 354.5 kB / 332.5 MB, free: 5.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/0.04053, allocations: 0.63 MB / 333.2 MB, free: 4.867 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.04155, allocations: 0.993 MB / 334.2 MB, free: 3.797 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.04156, allocations: 4 kB / 334.2 MB, free: 3.793 MB / 314.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001572/0.04313, allocations: 1.41 MB / 335.6 MB, free: 2.367 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.04315, allocations: 15.98 kB / 335.6 MB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.04316, allocations: 4 kB / 335.6 MB, free: 2.348 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005265/0.04369, allocations: 343.2 kB / 335.9 MB, free: 2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/0.04414, allocations: 223.6 kB / 336.1 MB, free: 1.781 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005788/0.04993, allocations: 7.881 MB / 344 MB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003993/0.05033, allocations: 48.17 kB / 344.1 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.504e-05/0.05038, allocations: 51.98 kB / 344.1 MB, free: 9.395 MB / 330.7 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.0003464/0.05073, allocations: 261.6 kB / 344.4 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-05/0.05081, allocations: 79.47 kB / 344.5 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.05244, allocations: 1.313 MB / 345.8 MB, free: 7.715 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.05245, allocations: 12 kB / 345.8 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/0.05246, allocations: 8 kB / 345.8 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.05247, allocations: 3.984 kB / 345.8 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.05507, allocations: 2.225 MB / 348 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.05508, allocations: 128 / 348 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000355/0.05543, allocations: 155.8 kB / 348.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004947/0.05593, allocations: 331.8 kB / 348.5 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/0.05597, allocations: 28 kB / 348.5 MB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1598/0.2158, allocations: 7.517 MB / 356 MB, free: 56.65 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.2158, allocations: 2.656 kB / 356 MB, free: 56.65 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.2179, allocations: 1.819 MB / 357.9 MB, free: 56.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002207/0.2182, allocations: 151 kB / 358 MB, free: 56.22 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.432e-05/0.2182, allocations: 24.05 kB / 358 MB, free: 56.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.2185, allocations: 39.39 kB / 358.1 MB, free: 56.19 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.2186, allocations: 103.3 kB / 358.2 MB, free: 56.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.211e-05/0.2187, allocations: 35.56 kB / 358.2 MB, free: 56.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002128/0.2189, allocations: 257.5 kB / 358.5 MB, free: 56.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2189, allocations: 0 / 358.5 MB, free: 56.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008342/0.2197, allocations: 317.7 kB / 358.8 MB, free: 55.99 MB / 330.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) * 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.0002527/0.22, allocations: 167.3 kB / 358.9 MB, free: 55.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001653/0.2216, allocations: 1.588 MB / 360.5 MB, free: 55.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2216, allocations: 0 / 360.5 MB, free: 55.03 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009063/0.2225, allocations: 1.106 MB / 361.6 MB, free: 54.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.2229, allocations: 72.42 kB / 361.7 MB, free: 54.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.2254, allocations: 1.963 MB / 363.7 MB, free: 53.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.2259, allocations: 443 kB / 364.1 MB, free: 53.19 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.226, allocations: 71.39 kB / 364.2 MB, free: 53.18 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.226, allocations: 1.375 kB / 364.2 MB, free: 53.18 MB / 330.7 MB Notification: Performance of Templates: time 0.01616/0.2422, allocations: 27.16 MB / 391.3 MB, free: 31.76 MB / 330.7 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.313638397492468]