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.001742/0.001742, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.001454/0.001454, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.493/1.493, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.2446/0.2446, allocations: 46.93 MB / 360.8 MB, free: 4.176 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: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002484/0.002484, allocations: 79.88 kB / 0.4962 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3279, allocations: 66.09 MB / 0.5607 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004238/0.3322, allocations: 2.505 MB / 0.5632 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.3337, allocations: 0.8451 MB / 0.564 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.3338, allocations: 4 kB / 0.564 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.3341, allocations: 63.44 kB / 0.5641 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.3343, allocations: 109.1 kB / 0.5642 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.3346, allocations: 103.8 kB / 0.5643 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003775/0.335, allocations: 354.8 kB / 0.5646 GB, free: 332 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.3351, allocations: 64.92 kB / 0.5647 GB, free: 264 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/0.3354, allocations: 151.5 kB / 0.5648 GB, free: 112 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.3357, allocations: 159.3 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.567e-05/0.3357, allocations: 28 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.823e-05/0.3358, allocations: 35.94 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.3359, allocations: 67.75 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.336, allocations: 159.2 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004959/0.3365, allocations: 370.4 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3365, allocations: 3.938 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3365, allocations: 0 / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.3366, allocations: 4 kB / 0.5656 GB, free: 15.3 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.001147/0.3377, allocations: 0.5674 MB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.247e-05/0.3378, allocations: 8.031 kB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.343e-05/0.3378, allocations: 66.72 kB / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.338, allocations: 40.7 kB / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.3383, allocations: 209 kB / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.3384, allocations: 16.88 kB / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.3384, allocations: 20.38 kB / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.3389, allocations: 264 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3389, allocations: 4 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.3389, allocations: 7.938 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.3389, allocations: 11.98 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004996/0.3394, allocations: 229.9 kB / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.3409, allocations: 0.8392 MB / 0.5678 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005511/0.3414, allocations: 282.6 kB / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.3417, allocations: 128.8 kB / 0.5682 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.3417, allocations: 0 / 0.5682 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.3418, allocations: 42.55 kB / 0.5683 GB, free: 12.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.262e-06/0.3418, allocations: 0 / 0.5683 GB, free: 12.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004472/0.3462, allocations: 0.9605 MB / 0.5692 GB, free: 11.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.3463, allocations: 55.41 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.3465, allocations: 237.1 kB / 0.5695 GB, free: 11.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.3466, allocations: 25.7 kB / 0.5695 GB, free: 11.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.3467, allocations: 169.3 kB / 0.5697 GB, free: 10.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.911e-05/0.3468, allocations: 111 kB / 0.5698 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.3469, allocations: 57.7 kB / 0.5698 GB, free: 10.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.347, allocations: 338.8 kB / 0.5701 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.3473, allocations: 91.95 kB / 0.5702 GB, free: 10.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.3475, allocations: 118.8 kB / 0.5703 GB, free: 10.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/0.348, allocations: 239.2 kB / 0.5706 GB, free: 9.984 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.348, allocations: 0 / 0.5706 GB, free: 9.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001813/0.3498, allocations: 0.5412 MB / 0.5711 GB, free: 9.426 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.3498, allocations: 6.188 kB / 0.5711 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3498, allocations: 4 kB / 0.5711 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001717/0.3515, allocations: 319.1 kB / 0.5714 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.3517, allocations: 23.97 kB / 0.5714 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008002/0.3597, allocations: 6.444 MB / 0.5777 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.36, allocations: 31.92 kB / 0.5778 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.36, allocations: 12 kB / 0.5778 GB, free: 2.125 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.0001939/0.3602, allocations: 141.8 kB / 0.5779 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.3602, allocations: 27.81 kB / 0.5779 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/0.3621, allocations: 0.5462 MB / 0.5785 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3621, allocations: 4 kB / 0.5785 GB, free: 1.383 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3621, allocations: 3.938 kB / 0.5785 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3621, allocations: 0 / 0.5785 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/0.3625, allocations: 332.4 kB / 0.5788 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3625, allocations: 0 / 0.5788 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.3626, allocations: 27.97 kB / 0.5788 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001591/0.3642, allocations: 315.3 kB / 0.5791 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.3643, allocations: 8 kB / 0.5791 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007847/0.3721, allocations: 6.488 MB / 0.5855 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3721, allocations: 0 / 0.5855 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/0.374, allocations: 0.6245 MB / 0.5861 GB, free: 9.051 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.374, allocations: 27.75 kB / 0.5861 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.374, allocations: 4 kB / 0.5861 GB, free: 9.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.3742, allocations: 15.98 kB / 0.5861 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.3744, allocations: 35.94 kB / 0.5861 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.3744, allocations: 4 kB / 0.5862 GB, free: 8.965 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.3746, allocations: 177.2 kB / 0.5863 GB, free: 8.793 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3746, allocations: 0 / 0.5863 GB, free: 8.793 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005381/0.3751, allocations: 119.9 kB / 0.5864 GB, free: 8.676 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.002181/0.3773, allocations: 1.164 MB / 0.5876 GB, free: 7.473 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.3784, allocations: 0.729 MB / 0.5883 GB, free: 6.691 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3784, allocations: 4.062 kB / 0.5883 GB, free: 6.688 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.3798, allocations: 0.7215 MB / 0.589 GB, free: 5.914 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.3801, allocations: 27.19 kB / 0.589 GB, free: 5.891 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006467/0.3866, allocations: 3.184 MB / 0.5921 GB, free: 2.574 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.387, allocations: 0.7795 MB / 0.5929 GB, free: 1.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.421e-05/0.3871, allocations: 9.953 kB / 0.5929 GB, free: 1.762 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.3872, allocations: 75.41 kB / 0.593 GB, free: 1.688 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3872, allocations: 0 / 0.593 GB, free: 1.688 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05051/0.4377, allocations: 11.37 MB / 0.6041 GB, free: 6.449 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/13.76, allocations: 10.59 kB / 0.6041 GB, free: 6.441 MB / 446.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 52.5] 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: 16.721170528093353]