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.001559/0.001559, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001717/0.001717, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.509/1.509, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.2301/0.2301, allocations: 44.93 MB / 359.6 MB, free: 6.285 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.002164/0.002164, allocations: 67.91 kB / 0.4943 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3349, allocations: 65.47 MB / 0.5582 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004129/0.339, allocations: 2.509 MB / 0.5607 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.341, allocations: 1.113 MB / 0.5618 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.641e-05/0.3411, allocations: 4 kB / 0.5618 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.3424, allocations: 0.5056 MB / 0.5623 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003074/0.3427, allocations: 111.2 kB / 0.5624 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009703/0.3436, allocations: 494 kB / 0.5629 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003304/0.344, allocations: 223 kB / 0.5631 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004384/0.3444, allocations: 233.2 kB / 0.5633 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.3446, allocations: 103.6 kB / 0.5634 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.3448, allocations: 127.5 kB / 0.5635 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.349e-05/0.3448, allocations: 24 kB / 0.5635 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.3451, allocations: 155.8 kB / 0.5637 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.711e-05/0.3452, allocations: 51.83 kB / 0.5637 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.3453, allocations: 115.5 kB / 0.5638 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005448/0.3459, allocations: 394.3 kB / 0.5642 GB, free: 1.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3459, allocations: 0 / 0.5642 GB, free: 1.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3459, allocations: 0 / 0.5642 GB, free: 1.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.3459, allocations: 0 / 0.5642 GB, free: 1.59 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.001323/0.3472, allocations: 0.5599 MB / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.3472, allocations: 8.031 kB / 0.5648 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003234/0.3476, allocations: 52.77 kB / 0.5648 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.3477, allocations: 130.2 kB / 0.5649 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.3477, allocations: 20.88 kB / 0.565 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.312e-05/0.3478, allocations: 28.38 kB / 0.565 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005944/0.3484, allocations: 290.9 kB / 0.5653 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.3484, allocations: 7.969 kB / 0.5653 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.3484, allocations: 12 kB / 0.5653 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3484, allocations: 4 kB / 0.5653 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005609/0.349, allocations: 229.6 kB / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.3505, allocations: 0.9261 MB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000469/0.351, allocations: 221 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003482/0.3513, allocations: 121.7 kB / 0.5667 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.3515, allocations: 15.97 kB / 0.5668 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.3515, allocations: 42.56 kB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.242e-06/0.3515, allocations: 0 / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001149/0.3526, allocations: 357.6 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.3527, allocations: 85.09 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.3529, allocations: 137.8 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.3529, allocations: 29.7 kB / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.353, allocations: 148.5 kB / 0.5675 GB, free: 13.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.97e-05/0.3531, allocations: 67.33 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.838e-05/0.3531, allocations: 41.7 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3533, allocations: 322.8 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.3535, allocations: 71.94 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.3538, allocations: 122 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/0.3542, allocations: 204.8 kB / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3542, allocations: 0 / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006374/0.3549, allocations: 282.9 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3549, allocations: 8 kB / 0.5686 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3549, allocations: 0 / 0.5686 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002186/0.3551, allocations: 53.67 kB / 0.5686 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.3553, allocations: 48.09 kB / 0.5687 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002492/0.3578, allocations: 2.629 MB / 0.5713 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.358, allocations: 31.86 kB / 0.5713 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.358, allocations: 12.06 kB / 0.5713 GB, free: 9.816 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.0001837/0.3582, allocations: 143.4 kB / 0.5714 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.116e-05/0.3583, allocations: 11.95 kB / 0.5714 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006814/0.3589, allocations: 266.5 kB / 0.5717 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3589, allocations: 0 / 0.5717 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.359, allocations: 7.938 kB / 0.5717 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.359, allocations: 0 / 0.5717 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.3602, allocations: 0.6218 MB / 0.5723 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3602, allocations: 3.938 kB / 0.5723 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.3603, allocations: 35.97 kB / 0.5724 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001284/0.3605, allocations: 45.7 kB / 0.5724 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.3605, allocations: 16.05 kB / 0.5724 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/0.3627, allocations: 2.637 MB / 0.575 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3627, allocations: 4.031 kB / 0.575 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009783/0.3637, allocations: 0.5141 MB / 0.5755 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.3637, allocations: 11.91 kB / 0.5755 GB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.3637, allocations: 8 kB / 0.5755 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.3639, allocations: 15.98 kB / 0.5755 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/0.364, allocations: 23.83 kB / 0.5755 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.364, allocations: 12 kB / 0.5756 GB, free: 5.102 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.538e-05/0.3641, allocations: 107.3 kB / 0.5757 GB, free: 4.996 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3641, allocations: 0 / 0.5757 GB, free: 4.996 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004617/0.3645, allocations: 75.78 kB / 0.5757 GB, free: 4.922 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.0002258/0.3647, allocations: 123.1 kB / 0.5759 GB, free: 4.793 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007915/0.3655, allocations: 408.2 kB / 0.5762 GB, free: 4.371 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3655, allocations: 0 / 0.5762 GB, free: 4.371 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004599/0.366, allocations: 325.7 kB / 0.5766 GB, free: 4.027 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.3664, allocations: 16 kB / 0.5766 GB, free: 4.012 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.3675, allocations: 0.4982 MB / 0.5771 GB, free: 3.477 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.3679, allocations: 0.7362 MB / 0.5778 GB, free: 2.715 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.104e-05/0.3679, allocations: 27.42 kB / 0.5778 GB, free: 2.688 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3679, allocations: 0 / 0.5778 GB, free: 2.688 MB / 414.1 MB Notification: Performance of Templates: time 0.00779/0.3757, allocations: 4.363 MB / 0.5821 GB, free: 14.32 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.114564541028813]