Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001321/0.001321, allocations: 107.6 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.001419/0.001419, allocations: 206.8 kB / 24.48 MB, free: 3.695 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.424/1.424, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2292/0.2292, allocations: 46.96 MB / 361.6 MB, free: 4.129 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+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.1.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.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 71.88 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.325, allocations: 66.03 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004223/0.3292, allocations: 2.363 MB / 0.5641 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.3313, allocations: 1.02 MB / 0.5651 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.3314, allocations: 7.938 kB / 0.5651 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.3328, allocations: 466 kB / 0.5656 GB, free: 332 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.3331, allocations: 119.2 kB / 0.5657 GB, free: 212 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009663/0.3341, allocations: 457.7 kB / 0.5661 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003399/0.3344, allocations: 223 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004818/0.3349, allocations: 230.1 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.3351, allocations: 103.7 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.3353, allocations: 123.5 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.3353, allocations: 24 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003323/0.3356, allocations: 151.8 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.475e-05/0.3357, allocations: 55.83 kB / 0.567 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.3358, allocations: 87.59 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005359/0.3363, allocations: 397.4 kB / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3363, allocations: 7.938 kB / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3363, allocations: 0 / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.3364, allocations: 0 / 0.5674 GB, free: 14.39 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.00132/0.3377, allocations: 0.556 MB / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3377, allocations: 8.031 kB / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003242/0.338, allocations: 48.77 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.3382, allocations: 134.2 kB / 0.5682 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.3382, allocations: 20.88 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.853e-05/0.3383, allocations: 32.3 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006234/0.3389, allocations: 298.9 kB / 0.5685 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.3389, allocations: 0 / 0.5685 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.3389, allocations: 12 kB / 0.5685 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.3389, allocations: 4 kB / 0.5685 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000575/0.3395, allocations: 221.6 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.341, allocations: 0.8214 MB / 0.5695 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004853/0.3415, allocations: 203.2 kB / 0.5697 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.3419, allocations: 129.6 kB / 0.5698 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.342, allocations: 15.98 kB / 0.5699 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.342, allocations: 34.56 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.342, allocations: 4 kB / 0.5699 GB, free: 11.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0012/0.3432, allocations: 355.3 kB / 0.5702 GB, free: 11.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.3433, allocations: 88.98 kB / 0.5703 GB, free: 11.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.3434, allocations: 133.8 kB / 0.5705 GB, free: 11.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.3434, allocations: 25.7 kB / 0.5705 GB, free: 11.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.3435, allocations: 152.2 kB / 0.5706 GB, free: 10.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.29e-05/0.3436, allocations: 63.42 kB / 0.5707 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.657e-05/0.3437, allocations: 37.72 kB / 0.5707 GB, free: 10.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3438, allocations: 322.8 kB / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.3441, allocations: 75.97 kB / 0.5711 GB, free: 10.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.3443, allocations: 119.6 kB / 0.5712 GB, free: 10.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.3448, allocations: 205.8 kB / 0.5714 GB, free: 10.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3448, allocations: 0 / 0.5714 GB, free: 10.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006628/0.3455, allocations: 281.9 kB / 0.5717 GB, free: 9.785 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.3455, allocations: 10.3 kB / 0.5717 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3455, allocations: 3.938 kB / 0.5717 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002286/0.3457, allocations: 49.69 kB / 0.5717 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.3459, allocations: 43.91 kB / 0.5718 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/0.3482, allocations: 2.588 MB / 0.5743 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.3484, allocations: 31.86 kB / 0.5743 GB, free: 6.848 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.3484, allocations: 4 kB / 0.5743 GB, free: 6.844 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.0001943/0.3486, allocations: 137.8 kB / 0.5745 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.41e-05/0.3487, allocations: 19.84 kB / 0.5745 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006949/0.3494, allocations: 256 kB / 0.5747 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.3494, allocations: 7.938 kB / 0.5747 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.3494, allocations: 0 / 0.5747 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.3494, allocations: 7.984 kB / 0.5747 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.3505, allocations: 0.5482 MB / 0.5753 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3505, allocations: 0 / 0.5753 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.3507, allocations: 35.97 kB / 0.5753 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001487/0.3509, allocations: 53.77 kB / 0.5754 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.3509, allocations: 4 kB / 0.5754 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002115/0.353, allocations: 2.584 MB / 0.5779 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/0.353, allocations: 8.016 kB / 0.5779 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009345/0.3539, allocations: 0.518 MB / 0.5784 GB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.354, allocations: 15.98 kB / 0.5784 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.354, allocations: 8 kB / 0.5784 GB, free: 2.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.3542, allocations: 11.98 kB / 0.5784 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/0.3542, allocations: 23.91 kB / 0.5785 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.3543, allocations: 7.984 kB / 0.5785 GB, free: 2.285 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.692e-05/0.3543, allocations: 99.27 kB / 0.5786 GB, free: 2.188 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3543, allocations: 0 / 0.5786 GB, free: 2.188 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004539/0.3548, allocations: 75.78 kB / 0.5786 GB, free: 2.113 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.0002577/0.355, allocations: 126.2 kB / 0.5788 GB, free: 1.984 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007809/0.3558, allocations: 419.8 kB / 0.5792 GB, free: 1.551 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3558, allocations: 0 / 0.5792 GB, free: 1.551 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004221/0.3562, allocations: 321.2 kB / 0.5795 GB, free: 1.211 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.3567, allocations: 15.94 kB / 0.5795 GB, free: 1.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000966/0.3576, allocations: 0.4998 MB / 0.58 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.3578, allocations: 125.2 kB / 0.5801 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.384e-05/0.3578, allocations: 15.44 kB / 0.5801 GB, free: 0.5 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3578, allocations: 0 / 0.5801 GB, free: 0.5 MB / 414.1 MB Notification: Performance of Templates: time 0.006836/0.3646, allocations: 4.41 MB / 0.5844 GB, free: 12.08 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.451638174999971]