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.001387/0.001387, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001527/0.001527, allocations: 208.2 kB / 24.48 MB, free: 3.977 MB / 14.72 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 1.424/1.424, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.2358/0.2358, allocations: 46.95 MB / 361.6 MB, free: 4.086 MB / 286.1 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 0.002034/0.002034, allocations: 67.91 kB / 0.4973 GB, free: 7.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4155, allocations: 66.03 MB / 0.5618 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004915/0.4204, allocations: 2.364 MB / 0.5641 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.4223, allocations: 1.016 MB / 0.5651 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.659e-05/0.4224, allocations: 4 kB / 0.5651 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.4238, allocations: 481.5 kB / 0.5656 GB, free: 380 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.4241, allocations: 115.2 kB / 0.5657 GB, free: 264 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.4251, allocations: 454.4 kB / 0.5661 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.4254, allocations: 222.9 kB / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004653/0.4259, allocations: 233.2 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.4261, allocations: 95.7 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.4263, allocations: 131.5 kB / 0.5668 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.4263, allocations: 20 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/0.4266, allocations: 155.9 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.4267, allocations: 43.84 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.4268, allocations: 95.59 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000529/0.4273, allocations: 406.2 kB / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4273, allocations: 0 / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4273, allocations: 0 / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.842e-06/0.4273, allocations: 0 / 0.5674 GB, free: 14.44 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.00134/0.4287, allocations: 0.5482 MB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.4287, allocations: 16.03 kB / 0.568 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003306/0.429, allocations: 48.77 kB / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.4292, allocations: 142.2 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.4292, allocations: 12.88 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.591e-05/0.4293, allocations: 28.31 kB / 0.5682 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00062/0.4299, allocations: 294.9 kB / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.4299, allocations: 4 kB / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.4299, allocations: 8 kB / 0.5685 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.43, allocations: 8 kB / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005738/0.4305, allocations: 229.6 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.4321, allocations: 0.8097 MB / 0.5695 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004855/0.4326, allocations: 209 kB / 0.5697 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/0.4329, allocations: 125.6 kB / 0.5698 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.433, allocations: 19.98 kB / 0.5699 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.4331, allocations: 34.56 kB / 0.5699 GB, free: 11.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.332e-06/0.4331, allocations: 0 / 0.5699 GB, free: 11.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001227/0.4343, allocations: 358 kB / 0.5702 GB, free: 11.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.4344, allocations: 85.05 kB / 0.5703 GB, free: 11.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.4345, allocations: 129.9 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.4345, allocations: 25.7 kB / 0.5705 GB, free: 11.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.4346, allocations: 156.2 kB / 0.5706 GB, free: 10.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.464e-05/0.4347, allocations: 67.42 kB / 0.5707 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.4348, allocations: 37.7 kB / 0.5707 GB, free: 10.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.4349, allocations: 322.8 kB / 0.571 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.4351, allocations: 67.95 kB / 0.5711 GB, free: 10.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.4354, allocations: 129.7 kB / 0.5712 GB, free: 10.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000481/0.4359, allocations: 213.8 kB / 0.5714 GB, free: 10.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4359, allocations: 0 / 0.5714 GB, free: 10.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006493/0.4366, allocations: 274.9 kB / 0.5717 GB, free: 9.836 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4366, allocations: 7.984 kB / 0.5717 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.4366, allocations: 4 kB / 0.5717 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002322/0.4368, allocations: 41.89 kB / 0.5717 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.437, allocations: 51.91 kB / 0.5718 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.4394, allocations: 2.58 MB / 0.5743 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.4396, allocations: 27.91 kB / 0.5743 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.4396, allocations: 12 kB / 0.5743 GB, free: 6.898 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.0001399/0.4397, allocations: 141.8 kB / 0.5745 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.4398, allocations: 23.83 kB / 0.5745 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006715/0.4405, allocations: 255.9 kB / 0.5747 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.4405, allocations: 7.938 kB / 0.5747 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.4405, allocations: 0 / 0.5747 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.4405, allocations: 0 / 0.5747 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.4416, allocations: 0.5513 MB / 0.5753 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4416, allocations: 3.938 kB / 0.5753 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.4418, allocations: 48.02 kB / 0.5753 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001268/0.4419, allocations: 41.7 kB / 0.5754 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.4419, allocations: 8 kB / 0.5754 GB, free: 5.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.4441, allocations: 2.584 MB / 0.5779 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4441, allocations: 0 / 0.5779 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.4451, allocations: 0.524 MB / 0.5784 GB, free: 2.414 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.4451, allocations: 11.89 kB / 0.5784 GB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.4452, allocations: 8 kB / 0.5784 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.4453, allocations: 15.97 kB / 0.5784 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.414e-05/0.4454, allocations: 20.03 kB / 0.5785 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.4454, allocations: 12 kB / 0.5785 GB, free: 2.348 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.4456, allocations: 95.27 kB / 0.5786 GB, free: 2.254 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4456, allocations: 0 / 0.5786 GB, free: 2.254 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005202/0.4461, allocations: 75.78 kB / 0.5786 GB, free: 2.18 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.0003363/0.4464, allocations: 133.8 kB / 0.5788 GB, free: 2.047 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009274/0.4473, allocations: 409.1 kB / 0.5792 GB, free: 1.621 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4473, allocations: 4.312 kB / 0.5792 GB, free: 1.617 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004638/0.4478, allocations: 325.2 kB / 0.5795 GB, free: 1.273 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.4483, allocations: 23.88 kB / 0.5795 GB, free: 1.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.4494, allocations: 470.8 kB / 0.5799 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.4496, allocations: 121.2 kB / 0.5801 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.341e-05/0.4497, allocations: 17.08 kB / 0.5801 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.4497, allocations: 11.44 kB / 0.5801 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4497, allocations: 4 kB / 0.5801 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of Templates: time 0.007318/0.457, allocations: 2.619 MB / 0.5827 GB, free: 13.98 MB / 430.1 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=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 5.202814151998609]