Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001618/0.001618, allocations: 217.7 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2193/0.2193, allocations: 46.92 MB / 361.5 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 75.81 kB / 0.4974 GB, free: 7.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.266, allocations: 66.08 MB / 0.5619 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003668/0.2696, allocations: 2.52 MB / 0.5644 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.2709, allocations: 0.8451 MB / 0.5652 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.271, allocations: 4 kB / 0.5652 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.2712, allocations: 59.45 kB / 0.5653 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.2715, allocations: 107.2 kB / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.2717, allocations: 107.9 kB / 0.5655 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003506/0.2721, allocations: 354.7 kB / 0.5658 GB, free: 252 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.2722, allocations: 71.56 kB / 0.5659 GB, free: 180 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.2725, allocations: 143.5 kB / 0.566 GB, free: 36 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.2727, allocations: 159.3 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.551e-05/0.2727, allocations: 28 kB / 0.5662 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.418e-05/0.2728, allocations: 36 kB / 0.5663 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.2728, allocations: 75.69 kB / 0.5663 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.273, allocations: 155.2 kB / 0.5665 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003789/0.2734, allocations: 374.1 kB / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2734, allocations: 0 / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2734, allocations: 0 / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.2734, allocations: 3.938 kB / 0.5668 GB, free: 15.22 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.001058/0.2744, allocations: 0.5635 MB / 0.5674 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2745, allocations: 8.031 kB / 0.5674 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.2746, allocations: 44.69 kB / 0.5674 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.2749, allocations: 213 kB / 0.5676 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.2749, allocations: 16.88 kB / 0.5677 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.879e-05/0.275, allocations: 24.38 kB / 0.5677 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.2754, allocations: 248.4 kB / 0.5679 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2755, allocations: 3.938 kB / 0.5679 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.2755, allocations: 8 kB / 0.5679 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.2755, allocations: 8 kB / 0.5679 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004773/0.276, allocations: 233.9 kB / 0.5682 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.2773, allocations: 0.8508 MB / 0.569 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.2778, allocations: 278.7 kB / 0.5693 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.2781, allocations: 124.8 kB / 0.5694 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.2781, allocations: 3.984 kB / 0.5694 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.2782, allocations: 46.48 kB / 0.5694 GB, free: 12.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.393e-06/0.2782, allocations: 0 / 0.5694 GB, free: 12.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004242/0.2824, allocations: 0.9528 MB / 0.5704 GB, free: 11.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.2824, allocations: 59.34 kB / 0.5704 GB, free: 11.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.2827, allocations: 233.1 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.2827, allocations: 33.7 kB / 0.5707 GB, free: 11.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.2828, allocations: 169.3 kB / 0.5708 GB, free: 10.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.389e-05/0.2829, allocations: 111.1 kB / 0.5709 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.072e-05/0.283, allocations: 49.7 kB / 0.571 GB, free: 10.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2831, allocations: 342.8 kB / 0.5713 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.2833, allocations: 87.95 kB / 0.5714 GB, free: 10.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.2836, allocations: 126.8 kB / 0.5715 GB, free: 10.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004393/0.284, allocations: 223.3 kB / 0.5717 GB, free: 9.996 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.284, allocations: 0 / 0.5717 GB, free: 9.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001733/0.2857, allocations: 0.5489 MB / 0.5723 GB, free: 9.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2858, allocations: 8 kB / 0.5723 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2858, allocations: 3.984 kB / 0.5723 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/0.2874, allocations: 311.1 kB / 0.5726 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.2875, allocations: 19.98 kB / 0.5726 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007161/0.2947, allocations: 6.452 MB / 0.5789 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.2949, allocations: 31.83 kB / 0.5789 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.2949, allocations: 8.078 kB / 0.5789 GB, free: 2.133 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001661/0.2951, allocations: 149.1 kB / 0.5791 GB, free: 1.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.2951, allocations: 31.88 kB / 0.5791 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.2968, allocations: 0.5423 MB / 0.5796 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2968, allocations: 8 kB / 0.5796 GB, free: 1.383 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2968, allocations: 3.938 kB / 0.5796 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.2969, allocations: 7.969 kB / 0.5796 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003943/0.2972, allocations: 328.4 kB / 0.58 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2972, allocations: 0 / 0.58 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.2974, allocations: 19.98 kB / 0.58 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001466/0.2988, allocations: 315.1 kB / 0.5803 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.2988, allocations: 8 kB / 0.5803 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007306/0.3061, allocations: 6.488 MB / 0.5866 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3061, allocations: 4.062 kB / 0.5866 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.3078, allocations: 0.6245 MB / 0.5872 GB, free: 9.051 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.3079, allocations: 35.67 kB / 0.5873 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.3079, allocations: 4 kB / 0.5873 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.3081, allocations: 12 kB / 0.5873 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.13e-05/0.3082, allocations: 35.92 kB / 0.5873 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.3082, allocations: 4 kB / 0.5873 GB, free: 8.961 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001564/0.3084, allocations: 173.2 kB / 0.5875 GB, free: 8.793 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3084, allocations: 0 / 0.5875 GB, free: 8.793 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004671/0.3088, allocations: 123.9 kB / 0.5876 GB, free: 8.672 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001209/0.3089, allocations: 99.19 kB / 0.5877 GB, free: 8.566 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.31, allocations: 0.7483 MB / 0.5884 GB, free: 7.766 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.31, allocations: 0 / 0.5884 GB, free: 7.766 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.3112, allocations: 0.7211 MB / 0.5891 GB, free: 6.992 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.3115, allocations: 23.19 kB / 0.5892 GB, free: 6.973 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009803/0.3125, allocations: 0.5974 MB / 0.5897 GB, free: 6.336 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.3128, allocations: 0.7717 MB / 0.5905 GB, free: 5.539 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.3129, allocations: 15.44 kB / 0.5905 GB, free: 5.523 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3129, allocations: 0 / 0.5905 GB, free: 5.523 MB / 430.1 MB Notification: Performance of Templates: time 0.01058/0.3235, allocations: 8.371 MB / 0.5987 GB, free: 13.15 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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: 7.596934641012922]