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.001383/0.001383, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001707/0.001707, allocations: 204 kB / 23.72 MB, free: 4.391 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.486/1.486, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.2459/0.2459, allocations: 46.95 MB / 360.8 MB, free: 3.938 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.002501/0.002501, allocations: 83.86 kB / 0.4966 GB, free: 7.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4229, allocations: 66.09 MB / 0.5612 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004316/0.4272, allocations: 2.353 MB / 0.5635 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.4293, allocations: 1.016 MB / 0.5645 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.4294, allocations: 7.938 kB / 0.5645 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.4309, allocations: 477.9 kB / 0.5649 GB, free: 128 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.4312, allocations: 107.3 kB / 0.565 GB, free: 20 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.4323, allocations: 457.7 kB / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003398/0.4326, allocations: 227 kB / 0.5657 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004772/0.4331, allocations: 226.2 kB / 0.5659 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.4333, allocations: 107.6 kB / 0.566 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.4335, allocations: 103.5 kB / 0.5661 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.4335, allocations: 20 kB / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.4338, allocations: 151.9 kB / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.092e-05/0.4339, allocations: 43.86 kB / 0.5663 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.434, allocations: 95.52 kB / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005868/0.4346, allocations: 401.3 kB / 0.5668 GB, free: 14.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.4346, allocations: 0 / 0.5668 GB, free: 14.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.989e-06/0.4346, allocations: 3.984 kB / 0.5668 GB, free: 14.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.4346, allocations: 0 / 0.5668 GB, free: 14.23 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.001581/0.4362, allocations: 0.5482 MB / 0.5673 GB, free: 13.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.4362, allocations: 12.03 kB / 0.5673 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000333/0.4366, allocations: 52.77 kB / 0.5674 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.4367, allocations: 138.2 kB / 0.5675 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.4367, allocations: 16.88 kB / 0.5675 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.617e-05/0.4368, allocations: 24.38 kB / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006415/0.4374, allocations: 290.9 kB / 0.5678 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.4375, allocations: 3.938 kB / 0.5678 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.4375, allocations: 11.94 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.4375, allocations: 8 kB / 0.5678 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005824/0.4381, allocations: 233.5 kB / 0.5681 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.4396, allocations: 0.8176 MB / 0.5689 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/0.4401, allocations: 201 kB / 0.5691 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.4404, allocations: 133.6 kB / 0.5692 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.4406, allocations: 15.98 kB / 0.5692 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.4406, allocations: 46.48 kB / 0.5692 GB, free: 11.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.783e-06/0.4406, allocations: 0 / 0.5692 GB, free: 11.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001226/0.4418, allocations: 345.5 kB / 0.5696 GB, free: 11.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.4419, allocations: 85.05 kB / 0.5697 GB, free: 11.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.442, allocations: 125.8 kB / 0.5698 GB, free: 10.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.4421, allocations: 33.83 kB / 0.5698 GB, free: 10.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.4422, allocations: 148.2 kB / 0.5699 GB, free: 10.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.591e-05/0.4423, allocations: 71.42 kB / 0.57 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.4423, allocations: 37.7 kB / 0.57 GB, free: 10.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4425, allocations: 322.8 kB / 0.5704 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.4427, allocations: 67.95 kB / 0.5704 GB, free: 10.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.443, allocations: 121.9 kB / 0.5705 GB, free: 10.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/0.4435, allocations: 204.4 kB / 0.5707 GB, free: 9.914 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4435, allocations: 0 / 0.5707 GB, free: 9.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006182/0.4441, allocations: 282.9 kB / 0.571 GB, free: 9.625 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4441, allocations: 4 kB / 0.571 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4441, allocations: 4 kB / 0.571 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002159/0.4443, allocations: 53.62 kB / 0.5711 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.4445, allocations: 40.16 kB / 0.5711 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.4468, allocations: 2.591 MB / 0.5736 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.447, allocations: 27.81 kB / 0.5737 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.447, allocations: 8 kB / 0.5737 GB, free: 6.684 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.0002/0.4472, allocations: 151.2 kB / 0.5738 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.4473, allocations: 15.84 kB / 0.5738 GB, free: 6.512 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006796/0.4479, allocations: 251.9 kB / 0.5741 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.4479, allocations: 11.94 kB / 0.5741 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.448, allocations: 3.984 kB / 0.5741 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.448, allocations: 0 / 0.5741 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.4491, allocations: 0.5467 MB / 0.5746 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.4491, allocations: 0 / 0.5746 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.4493, allocations: 40.03 kB / 0.5747 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001487/0.4495, allocations: 61.59 kB / 0.5747 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.4495, allocations: 4 kB / 0.5747 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002548/0.452, allocations: 2.581 MB / 0.5772 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.452, allocations: 3.984 kB / 0.5772 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000969/0.453, allocations: 0.5246 MB / 0.5777 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-05/0.453, allocations: 15.92 kB / 0.5778 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.4531, allocations: 4 kB / 0.5778 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.4532, allocations: 15.98 kB / 0.5778 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.492e-05/0.4533, allocations: 27.95 kB / 0.5778 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.4533, allocations: 8.062 kB / 0.5778 GB, free: 2.125 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.528e-05/0.4534, allocations: 99.27 kB / 0.5779 GB, free: 2.027 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4534, allocations: 0 / 0.5779 GB, free: 2.027 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000488/0.4539, allocations: 75.78 kB / 0.578 GB, free: 1.953 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.0002593/0.4541, allocations: 126.5 kB / 0.5781 GB, free: 1.824 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008388/0.455, allocations: 405.1 kB / 0.5785 GB, free: 1.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.455, allocations: 0 / 0.5785 GB, free: 1.402 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004589/0.4554, allocations: 329.7 kB / 0.5788 GB, free: 1.055 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.4559, allocations: 19.94 kB / 0.5788 GB, free: 1.035 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.4571, allocations: 469.4 kB / 0.5793 GB, free: 0.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.4573, allocations: 129.2 kB / 0.5794 GB, free: 408 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.044e-05/0.4573, allocations: 13.08 kB / 0.5794 GB, free: 396 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.4574, allocations: 19.38 kB / 0.5794 GB, free: 376 kB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4574, allocations: 0 / 0.5794 GB, free: 376 kB / 414.1 MB Notification: Performance of Templates: time 0.007428/0.4648, allocations: 2.557 MB / 0.5819 GB, free: 13.83 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/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: 5.412614077329636]