Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 106.2 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 195.2 kB / 22.98 MB, free: 5.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 251.6 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2475/0.2475, allocations: 44.91 MB / 351.6 MB, free: 12.24 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 75.89 kB / 495.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4558/0.4578, allocations: 64.25 MB / 0.5464 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.00526/0.463, allocations: 2.515 MB / 0.5488 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.4651, allocations: 1.047 MB / 0.5498 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.4652, allocations: 6.031 kB / 0.5498 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001397/0.4666, allocations: 0.5003 MB / 0.5503 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.467, allocations: 107.9 kB / 0.5504 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.4683, allocations: 0.6372 MB / 0.5511 GB, free: 9.496 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003836/0.4687, allocations: 221.8 kB / 0.5513 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004865/0.4692, allocations: 200.6 kB / 0.5515 GB, free: 9.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.4694, allocations: 94.23 kB / 0.5516 GB, free: 9.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.4696, allocations: 125.1 kB / 0.5517 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.136e-05/0.4697, allocations: 21.81 kB / 0.5517 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004243/0.4701, allocations: 150.6 kB / 0.5518 GB, free: 9.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.4701, allocations: 50.56 kB / 0.5519 GB, free: 8.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.4703, allocations: 121.3 kB / 0.552 GB, free: 8.906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006219/0.4709, allocations: 389.2 kB / 0.5524 GB, free: 8.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4709, allocations: 0 / 0.5524 GB, free: 8.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4709, allocations: 1.25 kB / 0.5524 GB, free: 8.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.4709, allocations: 0 / 0.5524 GB, free: 8.637 MB / 398.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.001446/0.4723, allocations: 0.6297 MB / 0.553 GB, free: 8.082 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.4724, allocations: 9.781 kB / 0.553 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003344/0.4727, allocations: 50.33 kB / 0.553 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.4729, allocations: 198.8 kB / 0.5532 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.4729, allocations: 19.69 kB / 0.5533 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.63e-05/0.473, allocations: 23.38 kB / 0.5533 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00062/0.4736, allocations: 297.3 kB / 0.5536 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.4736, allocations: 0 / 0.5536 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.4737, allocations: 10.5 kB / 0.5536 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.4737, allocations: 5.562 kB / 0.5536 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005622/0.4742, allocations: 227.1 kB / 0.5538 GB, free: 7.512 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.476, allocations: 0.9982 MB / 0.5548 GB, free: 6.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/0.4766, allocations: 363.3 kB / 0.5551 GB, free: 6.316 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/0.477, allocations: 129.5 kB / 0.5552 GB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.4771, allocations: 82.77 kB / 0.5553 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.4772, allocations: 40.81 kB / 0.5554 GB, free: 6.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.363e-06/0.4772, allocations: 0 / 0.5554 GB, free: 6.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001334/0.4785, allocations: 0.4976 MB / 0.5558 GB, free: 5.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.196e-05/0.4786, allocations: 80.58 kB / 0.5559 GB, free: 5.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.4788, allocations: 136 kB / 0.556 GB, free: 5.504 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.4788, allocations: 30.86 kB / 0.5561 GB, free: 5.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.479, allocations: 146.6 kB / 0.5562 GB, free: 5.332 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.764e-05/0.479, allocations: 66.86 kB / 0.5563 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.424e-05/0.4791, allocations: 38.86 kB / 0.5563 GB, free: 5.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002204/0.4793, allocations: 330.5 kB / 0.5566 GB, free: 4.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.4796, allocations: 68.92 kB / 0.5567 GB, free: 4.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.4799, allocations: 125.4 kB / 0.5568 GB, free: 4.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004829/0.4803, allocations: 208.2 kB / 0.557 GB, free: 4.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4804, allocations: 0 / 0.557 GB, free: 4.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006953/0.481, allocations: 283 kB / 0.5573 GB, free: 4.273 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.4811, allocations: 4 kB / 0.5573 GB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4811, allocations: 4 kB / 0.5573 GB, free: 4.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000294/0.4814, allocations: 53.62 kB / 0.5573 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.4816, allocations: 39.97 kB / 0.5574 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003393/0.485, allocations: 2.844 MB / 0.5602 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.4852, allocations: 27.91 kB / 0.5602 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.4852, allocations: 12 kB / 0.5602 GB, free: 1.004 MB / 398.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.0002702/0.4855, allocations: 143.8 kB / 0.5603 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.48e-05/0.4855, allocations: 19.89 kB / 0.5604 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000712/0.4862, allocations: 256.2 kB / 0.5606 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4863, allocations: 4 kB / 0.5606 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4863, allocations: 7.938 kB / 0.5606 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4863, allocations: 0 / 0.5606 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.4876, allocations: 0.65 MB / 0.5612 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.729e-05/0.4876, allocations: 11.94 kB / 0.5613 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.4878, allocations: 31.97 kB / 0.5613 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001458/0.488, allocations: 49.72 kB / 0.5613 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.488, allocations: 11.98 kB / 0.5613 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002731/0.4907, allocations: 2.832 MB / 0.5641 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.4907, allocations: 7.969 kB / 0.5641 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.4918, allocations: 0.5136 MB / 0.5646 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.24e-05/0.4919, allocations: 92.95 kB / 0.5647 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.492, allocations: 4 kB / 0.5647 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.4921, allocations: 20.05 kB / 0.5647 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-05/0.4922, allocations: 23.91 kB / 0.5648 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.4923, allocations: 8 kB / 0.5648 GB, free: 11.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.4924, allocations: 105.8 kB / 0.5649 GB, free: 11.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4924, allocations: 0 / 0.5649 GB, free: 11.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005936/0.493, allocations: 67.89 kB / 0.5649 GB, free: 11.74 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.0003308/0.4933, allocations: 127.1 kB / 0.565 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008932/0.4942, allocations: 409.4 kB / 0.5654 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4942, allocations: 3.938 kB / 0.5654 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004676/0.4947, allocations: 325.1 kB / 0.5658 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.4951, allocations: 14.89 kB / 0.5658 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.4961, allocations: 489.4 kB / 0.5662 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.4966, allocations: 0.7322 MB / 0.5669 GB, free: 9.555 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.45e-05/0.4966, allocations: 17.42 kB / 0.567 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.4967, allocations: 15.44 kB / 0.567 GB, free: 9.523 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4967, allocations: 0 / 0.567 GB, free: 9.523 MB / 414.1 MB Notification: Performance of Templates: time 0.006828/0.5035, allocations: 2.424 MB / 0.5693 GB, free: 7.098 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.719977803528309]