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.001238/0.001238, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001496/0.001496, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.455/1.455, allocations: 230.2 MB / 257.8 MB, free: 8.48 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.2286/0.2286, allocations: 46.9 MB / 361.1 MB, free: 4.605 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.002249/0.002249, allocations: 83.86 kB / 0.4968 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3079, allocations: 65.98 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003819/0.3117, allocations: 2.507 MB / 0.5636 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.3135, allocations: 1.121 MB / 0.5647 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.569e-05/0.3135, allocations: 4 kB / 0.5647 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.3148, allocations: 0.5018 MB / 0.5652 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002536/0.315, allocations: 111.2 kB / 0.5653 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008898/0.3159, allocations: 498 kB / 0.5658 GB, free: 280 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003078/0.3162, allocations: 219 kB / 0.566 GB, free: 60 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004125/0.3166, allocations: 208.9 kB / 0.5662 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.3168, allocations: 103.6 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.317, allocations: 127.5 kB / 0.5664 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.317, allocations: 20 kB / 0.5665 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003382/0.3174, allocations: 151.9 kB / 0.5666 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.603e-05/0.3174, allocations: 51.77 kB / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.3175, allocations: 119.4 kB / 0.5668 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005288/0.3181, allocations: 398.6 kB / 0.5671 GB, free: 14.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3181, allocations: 0 / 0.5671 GB, free: 14.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3181, allocations: 0 / 0.5671 GB, free: 14.9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3181, allocations: 0 / 0.5671 GB, free: 14.9 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.001389/0.3195, allocations: 0.6275 MB / 0.5678 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3195, allocations: 8.031 kB / 0.5678 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003217/0.3198, allocations: 48.77 kB / 0.5678 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.32, allocations: 203.9 kB / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.32, allocations: 20.94 kB / 0.568 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.218e-05/0.3201, allocations: 24.38 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006093/0.3207, allocations: 291.7 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.3207, allocations: 0 / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.3207, allocations: 12 kB / 0.5683 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.3208, allocations: 4 kB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005878/0.3213, allocations: 237.5 kB / 0.5686 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.323, allocations: 0.9977 MB / 0.5695 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005546/0.3235, allocations: 362.6 kB / 0.5699 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.3239, allocations: 129.6 kB / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/0.3241, allocations: 170.2 kB / 0.5702 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.3241, allocations: 38.56 kB / 0.5702 GB, free: 11.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.3241, allocations: 0 / 0.5702 GB, free: 11.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.00126/0.3254, allocations: 0.4918 MB / 0.5707 GB, free: 10.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.3254, allocations: 81.05 kB / 0.5708 GB, free: 10.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.3256, allocations: 144 kB / 0.5709 GB, free: 10.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.3256, allocations: 29.7 kB / 0.5709 GB, free: 10.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.3257, allocations: 140.3 kB / 0.5711 GB, free: 10.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.393e-05/0.3258, allocations: 79.5 kB / 0.5711 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.751e-05/0.3258, allocations: 37.72 kB / 0.5712 GB, free: 10.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.326, allocations: 318.8 kB / 0.5715 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.3262, allocations: 79.98 kB / 0.5716 GB, free: 10 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.3265, allocations: 121.9 kB / 0.5717 GB, free: 9.863 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/0.327, allocations: 205.8 kB / 0.5719 GB, free: 9.641 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.327, allocations: 0 / 0.5719 GB, free: 9.641 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006618/0.3276, allocations: 279 kB / 0.5721 GB, free: 9.355 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3276, allocations: 8 kB / 0.5721 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3277, allocations: 0 / 0.5721 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002043/0.3279, allocations: 49.69 kB / 0.5722 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.3281, allocations: 39.97 kB / 0.5722 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.3304, allocations: 2.845 MB / 0.575 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.3306, allocations: 28.02 kB / 0.575 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.3306, allocations: 11.98 kB / 0.575 GB, free: 6.086 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.0001445/0.3308, allocations: 145.8 kB / 0.5752 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-05/0.3308, allocations: 11.94 kB / 0.5752 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006973/0.3315, allocations: 268.2 kB / 0.5755 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3315, allocations: 0 / 0.5755 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3315, allocations: 0 / 0.5755 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.431e-05/0.3316, allocations: 96.98 kB / 0.5755 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.3316, allocations: 0 / 0.5755 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.3318, allocations: 15.98 kB / 0.5756 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.3319, allocations: 19.97 kB / 0.5756 GB, free: 5.5 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008568/0.3327, allocations: 436.2 kB / 0.576 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008597/0.3336, allocations: 0.5252 MB / 0.5765 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002339/0.3338, allocations: 75.94 kB / 0.5766 GB, free: 4.445 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.108e-05/0.3339, allocations: 109 kB / 0.5767 GB, free: 4.34 MB / 414.1 MB Notification: Performance of Backend: time 9.52e-07/0.3339, allocations: 0 / 0.5767 GB, free: 4.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00121/0.3351, allocations: 493.9 kB / 0.5772 GB, free: 3.828 MB / 414.1 MB Notification: Performance of SimCode: time 0.001107/0.3362, allocations: 0.9069 MB / 0.578 GB, free: 2.875 MB / 414.1 MB Notification: Performance of Templates: time 0.008082/0.3443, allocations: 3.554 MB / 0.5815 GB, free: 15.32 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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 4.9295099950395525]