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.001947/0.001947, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002327/0.002327, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.521/1.521, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2318/0.2318, allocations: 46.95 MB / 361.6 MB, free: 3.945 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.002429/0.002429, allocations: 75.88 kB / 0.4974 GB, free: 7.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3389, allocations: 66.1 MB / 0.5619 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003892/0.3428, allocations: 2.344 MB / 0.5642 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.3443, allocations: 0.7828 MB / 0.565 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.3444, allocations: 8 kB / 0.565 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.3446, allocations: 63.44 kB / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.3449, allocations: 103.2 kB / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.3452, allocations: 99.86 kB / 0.5652 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003626/0.3455, allocations: 358.7 kB / 0.5656 GB, free: 192 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.3457, allocations: 76.55 kB / 0.5656 GB, free: 116 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.346, allocations: 139.6 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.3462, allocations: 143.2 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.956e-05/0.3463, allocations: 32 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.078e-05/0.3463, allocations: 35.94 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.343e-05/0.3464, allocations: 67.75 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.3465, allocations: 123.4 kB / 0.5662 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004087/0.3469, allocations: 381.1 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3469, allocations: 0 / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3469, allocations: 0 / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.3469, allocations: 8 kB / 0.5665 GB, free: 15.2 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.001083/0.348, allocations: 0.5595 MB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3481, allocations: 8.031 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.3482, allocations: 40.7 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.3486, allocations: 213 kB / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.3486, allocations: 16.88 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.4e-05/0.3486, allocations: 24.38 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.3491, allocations: 248.4 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.3492, allocations: 11.98 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.3492, allocations: 19.92 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3492, allocations: 4 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005195/0.3497, allocations: 225.9 kB / 0.5678 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.3511, allocations: 0.7383 MB / 0.5686 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.3517, allocations: 286.4 kB / 0.5688 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.3519, allocations: 120.8 kB / 0.569 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.352, allocations: 4 kB / 0.569 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.352, allocations: 50.47 kB / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.335e-06/0.352, allocations: 0 / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004451/0.3565, allocations: 0.9489 MB / 0.5699 GB, free: 11.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.3565, allocations: 59.34 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.3568, allocations: 229.1 kB / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.3568, allocations: 33.7 kB / 0.5702 GB, free: 11.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.3569, allocations: 169.3 kB / 0.5704 GB, free: 11.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.904e-05/0.357, allocations: 111 kB / 0.5705 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.956e-05/0.3571, allocations: 53.7 kB / 0.5706 GB, free: 10.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3573, allocations: 334.8 kB / 0.5709 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.3575, allocations: 95.95 kB / 0.571 GB, free: 10.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.3578, allocations: 126.8 kB / 0.5711 GB, free: 10.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004729/0.3583, allocations: 227.3 kB / 0.5713 GB, free: 10.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3583, allocations: 0 / 0.5713 GB, free: 10.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001811/0.3601, allocations: 0.545 MB / 0.5718 GB, free: 9.531 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.3601, allocations: 8 kB / 0.5719 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3601, allocations: 3.938 kB / 0.5719 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001711/0.3618, allocations: 311.1 kB / 0.5722 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.362, allocations: 31.97 kB / 0.5722 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008511/0.3705, allocations: 6.301 MB / 0.5783 GB, free: 2.457 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.3708, allocations: 23.91 kB / 0.5784 GB, free: 2.434 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/0.3708, allocations: 12 kB / 0.5784 GB, free: 2.422 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.0002517/0.3711, allocations: 149.2 kB / 0.5785 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.12e-05/0.3711, allocations: 27.81 kB / 0.5785 GB, free: 2.242 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/0.3731, allocations: 0.5462 MB / 0.5791 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.993e-05/0.3732, allocations: 4 kB / 0.5791 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3732, allocations: 0 / 0.5791 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3732, allocations: 4 kB / 0.5791 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005172/0.3737, allocations: 253 kB / 0.5793 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.3737, allocations: 3.938 kB / 0.5793 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.3739, allocations: 19.97 kB / 0.5793 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001568/0.3754, allocations: 315.2 kB / 0.5796 GB, free: 1.051 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.3754, allocations: 4 kB / 0.5796 GB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008844/0.3843, allocations: 6.35 MB / 0.5858 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3843, allocations: 0 / 0.5858 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.3862, allocations: 0.6051 MB / 0.5864 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-05/0.3863, allocations: 35.69 kB / 0.5865 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/0.3863, allocations: 8 kB / 0.5865 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.3865, allocations: 15.98 kB / 0.5865 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.3867, allocations: 31.94 kB / 0.5865 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.3867, allocations: 11.98 kB / 0.5865 GB, free: 9.547 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001969/0.3869, allocations: 164.5 kB / 0.5867 GB, free: 9.387 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3869, allocations: 0 / 0.5867 GB, free: 9.387 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005717/0.3875, allocations: 123.9 kB / 0.5868 GB, free: 9.266 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.0001427/0.3876, allocations: 99.45 kB / 0.5869 GB, free: 9.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.3889, allocations: 0.7484 MB / 0.5876 GB, free: 8.359 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3889, allocations: 0 / 0.5876 GB, free: 8.359 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.3903, allocations: 0.7211 MB / 0.5883 GB, free: 7.586 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.3907, allocations: 27.17 kB / 0.5884 GB, free: 7.562 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.392, allocations: 0.594 MB / 0.589 GB, free: 6.934 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.3922, allocations: 171.8 kB / 0.5891 GB, free: 6.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.3923, allocations: 15.44 kB / 0.5891 GB, free: 6.734 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3923, allocations: 0 / 0.5891 GB, free: 6.734 MB / 430.1 MB Notification: Performance of Templates: time 0.01359/0.4059, allocations: 8.478 MB / 0.5974 GB, free: 14.25 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: 8.73593140533194]