Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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.001666/0.001666, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002088/0.002088, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.534/1.534, allocations: 230.5 MB / 258.2 MB, free: 7.785 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.2362/0.2362, allocations: 46.94 MB / 361.6 MB, free: 3.938 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.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 71.88 kB / 0.4969 GB, free: 7.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3135, allocations: 66.09 MB / 0.5614 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004523/0.318, allocations: 2.787 MB / 0.5642 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.3195, allocations: 0.7478 MB / 0.5649 GB, free: 500 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.3196, allocations: 11.94 kB / 0.5649 GB, free: 488 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.3198, allocations: 59.38 kB / 0.565 GB, free: 428 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.32, allocations: 111 kB / 0.5651 GB, free: 316 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.3203, allocations: 107.8 kB / 0.5652 GB, free: 208 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005369/0.3209, allocations: 470.7 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.3211, allocations: 112.4 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.3214, allocations: 195.3 kB / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.3217, allocations: 207.1 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.444e-05/0.3218, allocations: 44 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.3219, allocations: 44 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.495e-05/0.322, allocations: 91.66 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.3222, allocations: 171.2 kB / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005458/0.3227, allocations: 482 kB / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3227, allocations: 0 / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3227, allocations: 0 / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.3227, allocations: 0 / 0.5669 GB, free: 14.41 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001427/0.3241, allocations: 0.6418 MB / 0.5675 GB, free: 13.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3242, allocations: 12.03 kB / 0.5675 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.711e-05/0.3242, allocations: 9.188 kB / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.273e-05/0.3243, allocations: 78.66 kB / 0.5676 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00027/0.3246, allocations: 60.64 kB / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.325, allocations: 234 kB / 0.5679 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.325, allocations: 33.38 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/0.3251, allocations: 36.38 kB / 0.568 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007168/0.3258, allocations: 354.3 kB / 0.5683 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.3258, allocations: 0 / 0.5683 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.3259, allocations: 16 kB / 0.5683 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.3259, allocations: 8 kB / 0.5683 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006719/0.3265, allocations: 303.8 kB / 0.5686 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.3288, allocations: 1.201 MB / 0.5698 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005336/0.3293, allocations: 261.4 kB / 0.57 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.3297, allocations: 141.3 kB / 0.5702 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.3297, allocations: 4.281 kB / 0.5702 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.3297, allocations: 38.84 kB / 0.5702 GB, free: 10.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.704e-06/0.3297, allocations: 0 / 0.5702 GB, free: 10.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008887/0.3306, allocations: 371.5 kB / 0.5706 GB, free: 10.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3307, allocations: 63.34 kB / 0.5706 GB, free: 10.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.331, allocations: 261.8 kB / 0.5709 GB, free: 10.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.331, allocations: 33.7 kB / 0.5709 GB, free: 10.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.3311, allocations: 212.3 kB / 0.5711 GB, free: 9.871 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.3312, allocations: 126.9 kB / 0.5712 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.3314, allocations: 70.08 kB / 0.5713 GB, free: 9.672 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.3316, allocations: 338.8 kB / 0.5716 GB, free: 9.332 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.3318, allocations: 108.8 kB / 0.5717 GB, free: 9.227 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.3322, allocations: 171.5 kB / 0.5719 GB, free: 9.035 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005465/0.3327, allocations: 288.6 kB / 0.5722 GB, free: 8.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3327, allocations: 0 / 0.5722 GB, free: 8.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007164/0.3334, allocations: 374.3 kB / 0.5725 GB, free: 8.359 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.3334, allocations: 14.28 kB / 0.5725 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.3334, allocations: 0 / 0.5725 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.3335, allocations: 4 kB / 0.5725 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005221/0.334, allocations: 103.9 kB / 0.5726 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.334, allocations: 4 kB / 0.5726 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/0.3343, allocations: 39.95 kB / 0.5727 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.3343, allocations: 19.98 kB / 0.5727 GB, free: 8.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.3345, allocations: 149.7 kB / 0.5728 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.3345, allocations: 31.81 kB / 0.5729 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006947/0.3352, allocations: 325.2 kB / 0.5732 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3352, allocations: 4 kB / 0.5732 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.3352, allocations: 4 kB / 0.5732 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.3352, allocations: 7.984 kB / 0.5732 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004709/0.3357, allocations: 340.2 kB / 0.5735 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3357, allocations: 0 / 0.5735 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004342/0.3362, allocations: 79.89 kB / 0.5736 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.3362, allocations: 7.984 kB / 0.5736 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.3362, allocations: 4 kB / 0.5736 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3362, allocations: 4 kB / 0.5736 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3362, allocations: 0 / 0.5736 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009374/0.3371, allocations: 0.5185 MB / 0.5741 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.3372, allocations: 51.75 kB / 0.5742 GB, free: 6.598 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.775e-05/0.3373, allocations: 8 kB / 0.5742 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.3375, allocations: 11.98 kB / 0.5742 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/0.3376, allocations: 23.95 kB / 0.5742 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.3376, allocations: 4 kB / 0.5742 GB, free: 6.551 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002121/0.3379, allocations: 193.2 kB / 0.5744 GB, free: 6.359 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3379, allocations: 0 / 0.5744 GB, free: 6.359 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003734/0.3382, allocations: 99.78 kB / 0.5745 GB, free: 6.262 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001221/0.3394, allocations: 1.056 MB / 0.5755 GB, free: 5.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005906/0.34, allocations: 263.5 kB / 0.5758 GB, free: 4.922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.34, allocations: 0 / 0.5758 GB, free: 4.922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002622/0.3403, allocations: 128.3 kB / 0.5759 GB, free: 4.797 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.3406, allocations: 28.48 kB / 0.5759 GB, free: 4.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004613/0.3453, allocations: 3.145 MB / 0.579 GB, free: 1.504 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.3455, allocations: 185.3 kB / 0.5792 GB, free: 1.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001863/0.3456, allocations: 38.94 kB / 0.5792 GB, free: 1.266 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.3458, allocations: 107.4 kB / 0.5793 GB, free: 1.16 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3458, allocations: 0 / 0.5793 GB, free: 1.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.3753, allocations: 6.136 MB / 0.5853 GB, free: 11.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.45, allocations: 19.34 kB / 0.5853 GB, free: 11.15 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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: 15.49842960597016]