Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001779/0.001779, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.002087/0.002087, allocations: 209.1 kB / 25.12 MB, free: 3.59 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.475/1.475, allocations: 230.4 MB / 258.7 MB, free: 8.094 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2407/0.2407, allocations: 46.92 MB / 362 MB, free: 4.258 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002454/0.002454, allocations: 83.84 kB / 0.4978 GB, free: 7.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3741, allocations: 66.07 MB / 0.5623 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004481/0.3786, allocations: 2.499 MB / 0.5648 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.3807, allocations: 1.106 MB / 0.5658 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.3808, allocations: 8 kB / 0.5658 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.3822, allocations: 0.4979 MB / 0.5663 GB, free: 160 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003538/0.3826, allocations: 111.2 kB / 0.5664 GB, free: 48 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.3837, allocations: 494 kB / 0.5669 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003871/0.3841, allocations: 223 kB / 0.5671 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004786/0.3845, allocations: 234.2 kB / 0.5673 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.3848, allocations: 99.64 kB / 0.5674 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.385, allocations: 127.5 kB / 0.5676 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.385, allocations: 20 kB / 0.5676 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00039/0.3854, allocations: 159.9 kB / 0.5677 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.238e-05/0.3854, allocations: 47.78 kB / 0.5678 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.3856, allocations: 115.5 kB / 0.5679 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005877/0.3862, allocations: 397.4 kB / 0.5683 GB, free: 14.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3862, allocations: 0 / 0.5683 GB, free: 14.17 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3862, allocations: 0 / 0.5683 GB, free: 14.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.3862, allocations: 0 / 0.5683 GB, free: 14.17 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.001339/0.3876, allocations: 0.556 MB / 0.5688 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3876, allocations: 8.031 kB / 0.5688 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003266/0.3879, allocations: 56.77 kB / 0.5689 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.3881, allocations: 138.1 kB / 0.569 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.3881, allocations: 20.88 kB / 0.569 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.3882, allocations: 24.38 kB / 0.569 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006521/0.3888, allocations: 294.9 kB / 0.5693 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.3889, allocations: 0 / 0.5693 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.3889, allocations: 12 kB / 0.5693 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.3889, allocations: 4 kB / 0.5693 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006226/0.3895, allocations: 233.5 kB / 0.5696 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.3911, allocations: 0.93 MB / 0.5705 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.3916, allocations: 205 kB / 0.5707 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.392, allocations: 129.6 kB / 0.5708 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.3921, allocations: 19.98 kB / 0.5708 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.3921, allocations: 30.56 kB / 0.5708 GB, free: 11.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/0.3921, allocations: 0 / 0.5708 GB, free: 11.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.00119/0.3933, allocations: 357.4 kB / 0.5712 GB, free: 11.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.3934, allocations: 81.05 kB / 0.5713 GB, free: 10.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.3935, allocations: 148.3 kB / 0.5714 GB, free: 10.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.3936, allocations: 25.7 kB / 0.5714 GB, free: 10.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.3937, allocations: 148.3 kB / 0.5716 GB, free: 10.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.694e-05/0.3937, allocations: 75.31 kB / 0.5716 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.093e-05/0.3938, allocations: 41.7 kB / 0.5717 GB, free: 10.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.394, allocations: 326.9 kB / 0.572 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.3942, allocations: 67.95 kB / 0.572 GB, free: 10.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.3944, allocations: 118 kB / 0.5722 GB, free: 9.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/0.3949, allocations: 209.8 kB / 0.5724 GB, free: 9.703 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3949, allocations: 112 / 0.5724 GB, free: 9.703 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000659/0.3955, allocations: 281.5 kB / 0.5726 GB, free: 9.418 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.3956, allocations: 12.19 kB / 0.5726 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3956, allocations: 0 / 0.5726 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002405/0.3958, allocations: 49.7 kB / 0.5727 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.396, allocations: 43.95 kB / 0.5727 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/0.3984, allocations: 2.637 MB / 0.5753 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.3986, allocations: 31.83 kB / 0.5753 GB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.3986, allocations: 4 kB / 0.5753 GB, free: 6.402 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.0001677/0.3988, allocations: 145.7 kB / 0.5755 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.3988, allocations: 11.95 kB / 0.5755 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006962/0.3995, allocations: 260.2 kB / 0.5757 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.3995, allocations: 12.12 kB / 0.5758 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3995, allocations: 3.984 kB / 0.5758 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3995, allocations: 4 kB / 0.5758 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.4008, allocations: 0.614 MB / 0.5764 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.4008, allocations: 3.938 kB / 0.5764 GB, free: 5.266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.401, allocations: 35.92 kB / 0.5764 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000144/0.4011, allocations: 45.69 kB / 0.5764 GB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.4011, allocations: 8 kB / 0.5764 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/0.4034, allocations: 2.638 MB / 0.579 GB, free: 2.309 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4034, allocations: 0 / 0.579 GB, free: 2.309 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009782/0.4044, allocations: 0.5127 MB / 0.5795 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.4045, allocations: 23.92 kB / 0.5795 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.4045, allocations: 0 / 0.5795 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.4047, allocations: 20.05 kB / 0.5796 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.359e-05/0.4047, allocations: 23.91 kB / 0.5796 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.4048, allocations: 4 kB / 0.5796 GB, free: 1.699 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.4049, allocations: 113.3 kB / 0.5797 GB, free: 1.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4049, allocations: 0 / 0.5797 GB, free: 1.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004997/0.4054, allocations: 75.78 kB / 0.5798 GB, free: 1.516 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.0002505/0.4056, allocations: 134.5 kB / 0.5799 GB, free: 1.379 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008/0.4064, allocations: 405.5 kB / 0.5803 GB, free: 0.957 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4064, allocations: 0 / 0.5803 GB, free: 0.957 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004466/0.4069, allocations: 325.2 kB / 0.5806 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.4073, allocations: 22.83 kB / 0.5806 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.4083, allocations: 470.9 kB / 0.5811 GB, free: 100 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.4087, allocations: 0.7361 MB / 0.5818 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.779e-05/0.4088, allocations: 17.42 kB / 0.5818 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.846e-05/0.4089, allocations: 15.44 kB / 0.5818 GB, free: 15.3 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4089, allocations: 4 kB / 0.5818 GB, free: 15.3 MB / 430.1 MB Notification: Performance of Templates: time 0.006953/0.4158, allocations: 2.527 MB / 0.5843 GB, free: 12.78 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.1835855529643595]