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.00165/0.00165, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.002028/0.002028, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.513/1.513, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.3302/0.3302, allocations: 44.91 MB / 359.6 MB, free: 6.277 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.00202/0.00202, allocations: 71.89 kB / 0.4943 GB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2981, allocations: 65.47 MB / 0.5582 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005185/0.3033, allocations: 3.55 MB / 0.5617 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.3049, allocations: 0.8334 MB / 0.5625 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.3051, allocations: 8 kB / 0.5625 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002255/0.3053, allocations: 79.22 kB / 0.5626 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002639/0.3056, allocations: 134.8 kB / 0.5627 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.3059, allocations: 123.8 kB / 0.5629 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005831/0.3065, allocations: 0.5296 MB / 0.5634 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003045/0.3068, allocations: 178 kB / 0.5635 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.3071, allocations: 219.3 kB / 0.5638 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003219/0.3074, allocations: 227 kB / 0.564 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.438e-05/0.3075, allocations: 48 kB / 0.564 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.594e-05/0.3075, allocations: 56 kB / 0.5641 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.3076, allocations: 111.6 kB / 0.5642 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002317/0.3079, allocations: 250.8 kB / 0.5644 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006284/0.3085, allocations: 0.5589 MB / 0.565 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.3085, allocations: 4 kB / 0.565 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3085, allocations: 0 / 0.565 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.689e-06/0.3085, allocations: 0 / 0.565 GB, free: 0.8164 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.001368/0.3099, allocations: 0.6922 MB / 0.5656 GB, free: 96 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3099, allocations: 8.031 kB / 0.5656 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.808e-05/0.31, allocations: 56.61 kB / 0.5657 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005056/0.3105, allocations: 267.7 kB / 0.566 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.3106, allocations: 33.38 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.652e-05/0.3106, allocations: 48.38 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000867/0.3115, allocations: 463.4 kB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.3115, allocations: 0 / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.802e-05/0.3116, allocations: 24 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.3116, allocations: 16 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007331/0.3123, allocations: 316.2 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/0.315, allocations: 1.627 MB / 0.5684 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005957/0.3155, allocations: 224.9 kB / 0.5686 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/0.3159, allocations: 129.6 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.3159, allocations: 8 kB / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.3159, allocations: 34.78 kB / 0.5688 GB, free: 12.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.3159, allocations: 3.938 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003038/0.319, allocations: 1.125 MB / 0.5699 GB, free: 11.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.319, allocations: 93.02 kB / 0.57 GB, free: 11.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.3193, allocations: 253.9 kB / 0.5702 GB, free: 11.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.3194, allocations: 33.7 kB / 0.5702 GB, free: 11.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.3196, allocations: 264.1 kB / 0.5705 GB, free: 10.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.3197, allocations: 126.9 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.3198, allocations: 78.08 kB / 0.5707 GB, free: 10.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3199, allocations: 334.8 kB / 0.571 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.3202, allocations: 116.8 kB / 0.5711 GB, free: 10.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/0.3206, allocations: 216.2 kB / 0.5713 GB, free: 9.918 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006449/0.3212, allocations: 333.4 kB / 0.5717 GB, free: 9.551 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3212, allocations: 4 kB / 0.5717 GB, free: 9.547 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008684/0.3221, allocations: 417.9 kB / 0.5721 GB, free: 9.133 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3221, allocations: 12.06 kB / 0.5721 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3221, allocations: 4 kB / 0.5721 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001434/0.3223, allocations: 32.84 kB / 0.5721 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004968/0.3228, allocations: 127.7 kB / 0.5722 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.324, allocations: 1.342 MB / 0.5735 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.3243, allocations: 16 kB / 0.5735 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.3243, allocations: 24.05 kB / 0.5736 GB, free: 7.449 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.000204/0.3245, allocations: 165.7 kB / 0.5737 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.014e-05/0.3246, allocations: 35.75 kB / 0.5738 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.834e-05/0.3246, allocations: 38.11 kB / 0.5738 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.3247, allocations: 4 kB / 0.5738 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3247, allocations: 4 kB / 0.5738 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3247, allocations: 0 / 0.5738 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.3258, allocations: 0.6783 MB / 0.5745 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.3258, allocations: 4 kB / 0.5745 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004433/0.3263, allocations: 91.88 kB / 0.5746 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.669e-05/0.3264, allocations: 28.91 kB / 0.5746 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.3264, allocations: 11.94 kB / 0.5746 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.3275, allocations: 1.334 MB / 0.5759 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3275, allocations: 0 / 0.5759 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.3286, allocations: 0.6055 MB / 0.5765 GB, free: 4.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.3287, allocations: 43.83 kB / 0.5765 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.3287, allocations: 8 kB / 0.5765 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.329, allocations: 19.98 kB / 0.5766 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.3291, allocations: 31.89 kB / 0.5766 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.3291, allocations: 8 kB / 0.5766 GB, free: 4.141 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002005/0.3293, allocations: 189.1 kB / 0.5768 GB, free: 3.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3293, allocations: 0 / 0.5768 GB, free: 3.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004717/0.3298, allocations: 92 kB / 0.5769 GB, free: 3.863 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.0001231/0.3299, allocations: 103.2 kB / 0.577 GB, free: 3.754 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008724/0.3308, allocations: 402.2 kB / 0.5774 GB, free: 3.348 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3308, allocations: 3.938 kB / 0.5774 GB, free: 3.344 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004132/0.3312, allocations: 241.7 kB / 0.5776 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.3317, allocations: 51.41 kB / 0.5776 GB, free: 3.051 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.3334, allocations: 0.9451 MB / 0.5786 GB, free: 2.066 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.3339, allocations: 0.8113 MB / 0.5794 GB, free: 1.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.334, allocations: 31.42 kB / 0.5794 GB, free: 1.195 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.334, allocations: 4 kB / 0.5794 GB, free: 1.191 MB / 414.1 MB Notification: Performance of Templates: time 0.009006/0.343, allocations: 6.001 MB / 0.5852 GB, free: 11.2 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.23816509405151]