Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.001009/0.001009, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001013/0.001013, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9645/0.9645, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3113/0.3113, allocations: 34.26 MB / 296 MB, free: 0.7773 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 378 MB, free: 3.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.298e-05, allocations: 2.312 kB / 378 MB, free: 3.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.006194/0.006217, allocations: 2.506 MB / 380.5 MB, free: 500 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004469/0.01069, allocations: 1.067 MB / 381.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.825e-05/0.01078, allocations: 4 kB / 381.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009646/0.01175, allocations: 0.5172 MB / 382.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.012, allocations: 115.1 kB / 382.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006996/0.0127, allocations: 470.1 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.01298, allocations: 226.9 kB / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003604/0.01334, allocations: 218.7 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.01355, allocations: 147.7 kB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.01368, allocations: 99.7 kB / 383.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.01371, allocations: 20 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002642/0.01398, allocations: 147.8 kB / 383.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.007e-05/0.01402, allocations: 55.75 kB / 383.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.253e-05/0.01409, allocations: 71.84 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.01451, allocations: 310.9 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.01451, allocations: 0 / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.01451, allocations: 0 / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.01452, allocations: 0 / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001064/0.01558, allocations: 0.6481 MB / 384.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.01562, allocations: 12.02 kB / 384.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003626/0.01598, allocations: 88.64 kB / 384.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.0161, allocations: 132.3 kB / 384.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.01612, allocations: 16.88 kB / 384.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.01617, allocations: 24.38 kB / 384.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.01656, allocations: 245.6 kB / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.01658, allocations: 192 / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.0166, allocations: 12.38 kB / 385.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.01661, allocations: 7.938 kB / 385.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.01678, allocations: 106.9 kB / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.0181, allocations: 0.8943 MB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.01844, allocations: 182 kB / 386.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.01866, allocations: 87.38 kB / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.01878, allocations: 19.98 kB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.01881, allocations: 37.39 kB / 386.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.844e-06/0.01881, allocations: 8 kB / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007251/0.01954, allocations: 234.8 kB / 386.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.01958, allocations: 81.11 kB / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.01971, allocations: 185.9 kB / 386.9 MB, free: 9.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.01973, allocations: 29.7 kB / 386.9 MB, free: 9.785 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.157e-05/0.01982, allocations: 199.1 kB / 387.1 MB, free: 9.586 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.582e-05/0.01987, allocations: 71.36 kB / 387.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.598e-05/0.01995, allocations: 51.23 kB / 387.3 MB, free: 9.457 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002843/0.02023, allocations: 0.4961 MB / 387.8 MB, free: 8.949 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.951e-05/0.02032, allocations: 23.98 kB / 387.8 MB, free: 8.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.02044, allocations: 97.78 kB / 387.9 MB, free: 8.801 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.02065, allocations: 145 kB / 388 MB, free: 8.633 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.02066, allocations: 4 kB / 388 MB, free: 8.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003947/0.02105, allocations: 200.6 kB / 388.2 MB, free: 8.418 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.02107, allocations: 4 kB / 388.2 MB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.02108, allocations: 4 kB / 388.2 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002478/0.02133, allocations: 55.53 kB / 388.3 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.02148, allocations: 39.91 kB / 388.3 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002491/0.02397, allocations: 3.519 MB / 391.8 MB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.0241, allocations: 20.06 kB / 391.9 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.02412, allocations: 12 kB / 391.9 MB, free: 4.508 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.02425, allocations: 168.6 kB / 392 MB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/0.02431, allocations: 19.94 kB / 392.1 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004034/0.02472, allocations: 185.6 kB / 392.2 MB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.02472, allocations: 3.938 kB / 392.2 MB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.02473, allocations: 4 kB / 392.2 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.02474, allocations: 0 / 392.2 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008728/0.02561, allocations: 0.5429 MB / 392.8 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.02561, allocations: 0 / 392.8 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.02575, allocations: 27.98 kB / 392.8 MB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001494/0.0259, allocations: 51.34 kB / 392.9 MB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.02592, allocations: 8 kB / 392.9 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.02802, allocations: 3.531 MB / 396.4 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.02802, allocations: 4 kB / 396.4 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.0286, allocations: 494 kB / 396.9 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.442e-05/0.02862, allocations: 16.09 kB / 396.9 MB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.02864, allocations: 3.938 kB / 396.9 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.02881, allocations: 19.97 kB / 396.9 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.421e-05/0.02888, allocations: 20.06 kB / 396.9 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.0289, allocations: 8 kB / 397 MB, free: 15.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.794e-05/0.02898, allocations: 135.2 kB / 397.1 MB, free: 14.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02899, allocations: 0 / 397.1 MB, free: 14.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005231/0.02951, allocations: 71.83 kB / 397.2 MB, free: 14.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002493/0.02976, allocations: 130.9 kB / 397.3 MB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005463/0.0303, allocations: 451.8 kB / 397.7 MB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.03031, allocations: 4 kB / 397.7 MB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002884/0.0306, allocations: 407.2 kB / 398.1 MB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.031, allocations: 20.48 kB / 398.1 MB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.03228, allocations: 460 kB / 398.6 MB, free: 13.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.666e-05/0.03233, allocations: 80.2 kB / 398.7 MB, free: 13.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.797e-05/0.03238, allocations: 17.14 kB / 398.7 MB, free: 13.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.03241, allocations: 20.48 kB / 398.7 MB, free: 13.15 MB / 378.7 MB Notification: Performance of SimCode: time 7.51e-07/0.03242, allocations: 0 / 398.7 MB, free: 13.15 MB / 378.7 MB Notification: Performance of Templates: time 0.004687/0.0371, allocations: 2.405 MB / 401.1 MB, free: 10.76 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.268118305131793]