Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.001373/0.001373, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001583/0.001583, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.493/1.493, allocations: 230.5 MB / 258.1 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 46.95 MB / 361.5 MB, free: 3.949 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(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_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 87.84 kB / 0.4974 GB, free: 7.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3433, allocations: 66.09 MB / 0.5619 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004545/0.3478, allocations: 2.347 MB / 0.5642 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.3499, allocations: 1.024 MB / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.35, allocations: 4 kB / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.3514, allocations: 470 kB / 0.5656 GB, free: 148 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003678/0.3517, allocations: 115.2 kB / 0.5658 GB, free: 32 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.3527, allocations: 458.2 kB / 0.5662 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.3531, allocations: 227 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004889/0.3536, allocations: 221.2 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.3538, allocations: 103.6 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.354, allocations: 103.5 kB / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.387e-05/0.354, allocations: 20 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003559/0.3544, allocations: 151.9 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.153e-05/0.3544, allocations: 51.78 kB / 0.567 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.3545, allocations: 91.59 kB / 0.5671 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000615/0.3551, allocations: 406.3 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3551, allocations: 0 / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.407e-06/0.3551, allocations: 0 / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.3552, allocations: 0 / 0.5675 GB, free: 14.24 MB / 414.1 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.001416/0.3566, allocations: 0.5482 MB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.3566, allocations: 12.03 kB / 0.5681 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003321/0.3569, allocations: 52.77 kB / 0.5681 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.3571, allocations: 142.2 kB / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.3571, allocations: 16.88 kB / 0.5683 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.3572, allocations: 24.38 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006128/0.3578, allocations: 290.9 kB / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.3578, allocations: 3.938 kB / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.3579, allocations: 8 kB / 0.5686 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.3579, allocations: 8 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005838/0.3584, allocations: 237.5 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.36, allocations: 0.8097 MB / 0.5696 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000486/0.3605, allocations: 204.4 kB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/0.3608, allocations: 133.6 kB / 0.5699 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.3609, allocations: 19.92 kB / 0.5699 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.361, allocations: 38.56 kB / 0.57 GB, free: 11.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 2.204e-06/0.361, allocations: 0 / 0.57 GB, free: 11.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001208/0.3622, allocations: 349.9 kB / 0.5703 GB, free: 11.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.3622, allocations: 85.05 kB / 0.5704 GB, free: 11.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.3624, allocations: 125.7 kB / 0.5705 GB, free: 10.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.3624, allocations: 37.83 kB / 0.5705 GB, free: 10.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.3625, allocations: 148.2 kB / 0.5707 GB, free: 10.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.601e-05/0.3626, allocations: 71.42 kB / 0.5708 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.022e-05/0.3626, allocations: 37.7 kB / 0.5708 GB, free: 10.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3628, allocations: 322.8 kB / 0.5711 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.363, allocations: 67.95 kB / 0.5712 GB, free: 10.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.3633, allocations: 118 kB / 0.5713 GB, free: 10.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005742/0.3638, allocations: 209.8 kB / 0.5715 GB, free: 9.922 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3638, allocations: 0 / 0.5715 GB, free: 9.922 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006714/0.3645, allocations: 289.9 kB / 0.5717 GB, free: 9.629 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3645, allocations: 4 kB / 0.5718 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.3645, allocations: 4 kB / 0.5718 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002648/0.3648, allocations: 41.7 kB / 0.5718 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.365, allocations: 48.14 kB / 0.5718 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.3675, allocations: 2.584 MB / 0.5744 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.3676, allocations: 31.84 kB / 0.5744 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.3676, allocations: 8 kB / 0.5744 GB, free: 6.695 MB / 414.1 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.0001708/0.3678, allocations: 149.8 kB / 0.5745 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.236e-05/0.3679, allocations: 15.84 kB / 0.5746 GB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006866/0.3686, allocations: 251.9 kB / 0.5748 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.3686, allocations: 11.94 kB / 0.5748 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.3686, allocations: 0 / 0.5748 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3686, allocations: 0 / 0.5748 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.3697, allocations: 0.5483 MB / 0.5753 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3697, allocations: 0 / 0.5753 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.3699, allocations: 43.97 kB / 0.5754 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000153/0.3701, allocations: 45.7 kB / 0.5754 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.3701, allocations: 7.984 kB / 0.5754 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002233/0.3723, allocations: 2.592 MB / 0.578 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3723, allocations: 0 / 0.578 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009894/0.3733, allocations: 0.5207 MB / 0.5785 GB, free: 2.211 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/0.3733, allocations: 15.92 kB / 0.5785 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.3734, allocations: 4 kB / 0.5785 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.3735, allocations: 19.97 kB / 0.5785 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.3736, allocations: 23.97 kB / 0.5785 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.3736, allocations: 8 kB / 0.5785 GB, free: 2.141 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.895e-05/0.3737, allocations: 99.27 kB / 0.5786 GB, free: 2.043 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3737, allocations: 0 / 0.5786 GB, free: 2.043 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004724/0.3742, allocations: 75.78 kB / 0.5787 GB, free: 1.969 MB / 414.1 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.0002399/0.3744, allocations: 127.1 kB / 0.5788 GB, free: 1.836 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000821/0.3752, allocations: 409 kB / 0.5792 GB, free: 1.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3752, allocations: 0 / 0.5792 GB, free: 1.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004739/0.3757, allocations: 325.7 kB / 0.5795 GB, free: 1.066 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.3761, allocations: 19.94 kB / 0.5796 GB, free: 1.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.3772, allocations: 0.4887 MB / 0.58 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.3773, allocations: 125.2 kB / 0.5802 GB, free: 384 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.3774, allocations: 19.44 kB / 0.5802 GB, free: 364 kB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3774, allocations: 3.938 kB / 0.5802 GB, free: 360 kB / 414.1 MB Notification: Performance of Templates: time 0.007238/0.3846, allocations: 4.398 MB / 0.5845 GB, free: 11.95 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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: 8.225203185807914]