Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.00175/0.00175, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00217/0.00217, allocations: 209 kB / 24.47 MB, free: 3.941 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.488/1.488, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.2404/0.2404, allocations: 44.94 MB / 359.6 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 179] 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.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [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.00217/0.00217, allocations: 71.89 kB / 0.4942 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3365, allocations: 65.48 MB / 0.5582 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005095/0.3416, allocations: 3.23 MB / 0.5613 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.3433, allocations: 0.7984 MB / 0.5621 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.3435, allocations: 8 kB / 0.5621 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.3437, allocations: 71.23 kB / 0.5622 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.344, allocations: 138.8 kB / 0.5623 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004042/0.3444, allocations: 127.8 kB / 0.5625 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005835/0.3449, allocations: 0.5179 MB / 0.563 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003219/0.3453, allocations: 173 kB / 0.5631 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.3455, allocations: 219.3 kB / 0.5633 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002806/0.3458, allocations: 199 kB / 0.5635 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.809e-05/0.3459, allocations: 48 kB / 0.5636 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.573e-05/0.346, allocations: 48 kB / 0.5636 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.3461, allocations: 115.6 kB / 0.5637 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.3463, allocations: 207 kB / 0.5639 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006223/0.3469, allocations: 0.56 MB / 0.5645 GB, free: 1.039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3469, allocations: 0 / 0.5645 GB, free: 1.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3469, allocations: 3.938 kB / 0.5645 GB, free: 1.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.3469, allocations: 0 / 0.5645 GB, free: 1.035 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001341/0.3483, allocations: 0.6962 MB / 0.5652 GB, free: 316 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3483, allocations: 12.02 kB / 0.5652 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.3484, allocations: 60.61 kB / 0.5652 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005329/0.3489, allocations: 259.7 kB / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.914e-05/0.349, allocations: 33.38 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.415e-05/0.349, allocations: 44.38 kB / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008827/0.3499, allocations: 0.5106 MB / 0.566 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.3499, allocations: 3.938 kB / 0.566 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/0.35, allocations: 19.94 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.35, allocations: 12 kB / 0.5661 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007203/0.3507, allocations: 324.2 kB / 0.5664 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002471/0.3532, allocations: 1.444 MB / 0.5678 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000574/0.3538, allocations: 229 kB / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/0.3541, allocations: 133.6 kB / 0.5681 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.3541, allocations: 4 kB / 0.5681 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.3542, allocations: 38.56 kB / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/0.3542, allocations: 0 / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003027/0.3572, allocations: 1.135 MB / 0.5693 GB, free: 11.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.3572, allocations: 81.11 kB / 0.5694 GB, free: 11.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.3576, allocations: 257.8 kB / 0.5696 GB, free: 11.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.3576, allocations: 33.7 kB / 0.5696 GB, free: 11.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.3578, allocations: 268.1 kB / 0.5699 GB, free: 11.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.3579, allocations: 130.9 kB / 0.57 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.3581, allocations: 74.14 kB / 0.5701 GB, free: 10.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3582, allocations: 334.8 kB / 0.5704 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.3585, allocations: 108.8 kB / 0.5705 GB, free: 10.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.3589, allocations: 216.3 kB / 0.5707 GB, free: 10.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006643/0.3596, allocations: 345.5 kB / 0.5711 GB, free: 9.883 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3596, allocations: 0 / 0.5711 GB, free: 9.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008745/0.3604, allocations: 416.6 kB / 0.5715 GB, free: 9.469 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.3605, allocations: 8 kB / 0.5715 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.3605, allocations: 4 kB / 0.5715 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001787/0.3606, allocations: 28.84 kB / 0.5715 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004741/0.3611, allocations: 123.8 kB / 0.5716 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.3624, allocations: 1.323 MB / 0.5729 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.3626, allocations: 19.98 kB / 0.5729 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.3627, allocations: 16 kB / 0.5729 GB, free: 7.832 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002062/0.3629, allocations: 157.8 kB / 0.5731 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.803e-05/0.3629, allocations: 35.75 kB / 0.5731 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.44e-05/0.363, allocations: 34.11 kB / 0.5732 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.363, allocations: 4 kB / 0.5732 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.363, allocations: 4.062 kB / 0.5732 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.363, allocations: 15.92 kB / 0.5732 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.3641, allocations: 0.5853 MB / 0.5737 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3641, allocations: 0 / 0.5737 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004176/0.3645, allocations: 91.88 kB / 0.5738 GB, free: 6.859 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-05/0.3646, allocations: 32.91 kB / 0.5739 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.3646, allocations: 4 kB / 0.5739 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.3656, allocations: 1.304 MB / 0.5751 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.3656, allocations: 4.031 kB / 0.5751 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.3667, allocations: 0.6094 MB / 0.5757 GB, free: 4.777 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.3668, allocations: 43.83 kB / 0.5758 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.3668, allocations: 4 kB / 0.5758 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.3671, allocations: 19.98 kB / 0.5758 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.307e-05/0.3671, allocations: 23.95 kB / 0.5758 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.3672, allocations: 15.98 kB / 0.5758 GB, free: 4.672 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001953/0.3674, allocations: 177.2 kB / 0.576 GB, free: 4.496 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3674, allocations: 0 / 0.576 GB, free: 4.496 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004976/0.3679, allocations: 99.94 kB / 0.5761 GB, free: 4.398 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.000146/0.368, allocations: 107.2 kB / 0.5762 GB, free: 4.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009359/0.3689, allocations: 392.8 kB / 0.5766 GB, free: 3.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3689, allocations: 4.062 kB / 0.5766 GB, free: 3.887 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000411/0.3694, allocations: 246.3 kB / 0.5768 GB, free: 3.633 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/0.3699, allocations: 36.48 kB / 0.5769 GB, free: 3.598 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.3717, allocations: 0.9538 MB / 0.5778 GB, free: 2.602 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.372, allocations: 207.7 kB / 0.578 GB, free: 2.375 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.825e-05/0.3721, allocations: 31.42 kB / 0.578 GB, free: 2.344 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3721, allocations: 0 / 0.578 GB, free: 2.344 MB / 414.1 MB Notification: Performance of Templates: time 0.009178/0.3812, allocations: 6.132 MB / 0.584 GB, free: 12.22 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.414635597262532]