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.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.00172/0.00172, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002121/0.002121, allocations: 215.1 kB / 24.48 MB, free: 3.844 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.465/1.465, allocations: 230.6 MB / 258.2 MB, free: 7.82 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.2258/0.2258, allocations: 44.94 MB / 359.6 MB, free: 6.035 MB / 286.1 MB " [Timeout remaining time 180] 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.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.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 67.91 kB / 0.4942 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3176, allocations: 65.47 MB / 0.5582 GB, free: 7.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004194/0.3218, allocations: 2.345 MB / 0.5605 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.3237, allocations: 1.032 MB / 0.5615 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.3238, allocations: 7.938 kB / 0.5615 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.3252, allocations: 473.8 kB / 0.5619 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.3255, allocations: 115.2 kB / 0.562 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000981/0.3265, allocations: 458.2 kB / 0.5625 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.3268, allocations: 219 kB / 0.5627 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004901/0.3273, allocations: 226.1 kB / 0.5629 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.3275, allocations: 103.7 kB / 0.563 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.3277, allocations: 111.5 kB / 0.5631 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/0.3277, allocations: 20 kB / 0.5631 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003248/0.3281, allocations: 147.9 kB / 0.5633 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.275e-05/0.3281, allocations: 51.84 kB / 0.5633 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.3282, allocations: 87.59 kB / 0.5634 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005656/0.3288, allocations: 405.2 kB / 0.5638 GB, free: 1.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3288, allocations: 0 / 0.5638 GB, free: 1.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3288, allocations: 0 / 0.5638 GB, free: 1.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.3288, allocations: 0 / 0.5638 GB, free: 1.664 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.001324/0.3301, allocations: 0.5521 MB / 0.5643 GB, free: 1.082 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3302, allocations: 12.03 kB / 0.5643 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000345/0.3305, allocations: 48.77 kB / 0.5644 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.3307, allocations: 134.2 kB / 0.5645 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.3307, allocations: 16.88 kB / 0.5645 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/0.3308, allocations: 24.38 kB / 0.5646 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006386/0.3314, allocations: 302.9 kB / 0.5648 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.3314, allocations: 3.938 kB / 0.5648 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.3314, allocations: 8 kB / 0.5649 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.3315, allocations: 8 kB / 0.5649 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005701/0.332, allocations: 225.6 kB / 0.5651 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.3336, allocations: 0.8175 MB / 0.5659 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.334, allocations: 203.3 kB / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/0.3344, allocations: 129.6 kB / 0.5662 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.3345, allocations: 19.98 kB / 0.5662 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.3345, allocations: 34.56 kB / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.743e-06/0.3345, allocations: 0 / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0012/0.3357, allocations: 359.1 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.3358, allocations: 85.05 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.3359, allocations: 125.8 kB / 0.5668 GB, free: 14.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.336, allocations: 29.7 kB / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.3361, allocations: 152.2 kB / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.137e-05/0.3361, allocations: 67.42 kB / 0.567 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.071e-05/0.3362, allocations: 37.7 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3364, allocations: 323 kB / 0.5674 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.3366, allocations: 75.95 kB / 0.5674 GB, free: 13.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.3368, allocations: 115.6 kB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004848/0.3373, allocations: 212.8 kB / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3373, allocations: 0 / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006767/0.338, allocations: 278.9 kB / 0.568 GB, free: 13.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.338, allocations: 7.984 kB / 0.568 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.338, allocations: 4 kB / 0.568 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002161/0.3383, allocations: 41.7 kB / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.3385, allocations: 43.91 kB / 0.5681 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/0.341, allocations: 2.596 MB / 0.5707 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.3412, allocations: 27.81 kB / 0.5707 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.3412, allocations: 8 kB / 0.5707 GB, free: 10.12 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.000177/0.3414, allocations: 137.8 kB / 0.5708 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.3414, allocations: 19.83 kB / 0.5708 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006985/0.3421, allocations: 266.7 kB / 0.5711 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.3421, allocations: 11.88 kB / 0.5711 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.3421, allocations: 0 / 0.5711 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3421, allocations: 0 / 0.5711 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.3433, allocations: 0.5513 MB / 0.5716 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3433, allocations: 0 / 0.5716 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.3435, allocations: 39.97 kB / 0.5717 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001389/0.3436, allocations: 41.7 kB / 0.5717 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.3437, allocations: 4 kB / 0.5717 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002285/0.3459, allocations: 2.591 MB / 0.5743 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3459, allocations: 0 / 0.5743 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009844/0.3469, allocations: 0.5244 MB / 0.5748 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.347, allocations: 11.92 kB / 0.5748 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.347, allocations: 4 kB / 0.5748 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.3472, allocations: 19.97 kB / 0.5748 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.759e-05/0.3472, allocations: 23.91 kB / 0.5748 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.3472, allocations: 4 kB / 0.5748 GB, free: 5.578 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.055e-05/0.3473, allocations: 99.27 kB / 0.5749 GB, free: 5.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3473, allocations: 0 / 0.5749 GB, free: 5.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000476/0.3478, allocations: 75.78 kB / 0.575 GB, free: 5.406 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.0002596/0.3481, allocations: 131.2 kB / 0.5751 GB, free: 5.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008458/0.3489, allocations: 409 kB / 0.5755 GB, free: 4.844 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3489, allocations: 0 / 0.5755 GB, free: 4.844 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004462/0.3494, allocations: 325.2 kB / 0.5758 GB, free: 4.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.3498, allocations: 19.69 kB / 0.5758 GB, free: 4.484 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.3509, allocations: 0.496 MB / 0.5763 GB, free: 3.949 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.3511, allocations: 125.2 kB / 0.5764 GB, free: 3.809 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/0.3511, allocations: 19.42 kB / 0.5765 GB, free: 3.789 MB / 414.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3511, allocations: 3.938 kB / 0.5765 GB, free: 3.785 MB / 414.1 MB Notification: Performance of Templates: time 0.00773/0.3588, allocations: 4.41 MB / 0.5808 GB, free: 15.37 MB / 430.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/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: 8.55143668781966]