Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001243/0.001243, allocations: 103 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001428, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.4 MB, free: 9.078 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001454, allocations: 59.84 kB / 306.6 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1119, allocations: 50.53 MB / 357.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005937/0.1179, allocations: 4.177 MB / 361.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003079/0.121, allocations: 1.701 MB / 363 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005412/0.1216, allocations: 12 kB / 363 MB, free: 8.156 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002498/0.1241, allocations: 0.9489 MB / 363.9 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009907/0.1251, allocations: 202.8 kB / 364.1 MB, free: 7.008 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.127, allocations: 0.7166 MB / 364.9 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.128, allocations: 0.6063 MB / 365.5 MB, free: 5.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009586/0.129, allocations: 0.5465 MB / 366 MB, free: 5.129 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004637/0.1294, allocations: 259 kB / 366.3 MB, free: 4.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004647/0.1299, allocations: 342.6 kB / 366.6 MB, free: 4.539 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.13, allocations: 55.98 kB / 366.6 MB, free: 4.484 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006544/0.1307, allocations: 295.7 kB / 366.9 MB, free: 4.195 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.1309, allocations: 127.5 kB / 367.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003679/0.1312, allocations: 310.5 kB / 367.4 MB, free: 3.766 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.1325, allocations: 0.9344 MB / 368.3 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1325, allocations: 0 / 368.3 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1325, allocations: 0 / 368.3 MB, free: 2.828 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.772e-05/0.1325, allocations: 3.938 kB / 368.3 MB, free: 2.824 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003743/0.1363, allocations: 1.225 MB / 369.5 MB, free: 1.551 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.1363, allocations: 8.031 kB / 369.5 MB, free: 1.543 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.1365, allocations: 110.7 kB / 369.6 MB, free: 1.426 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.1378, allocations: 188 kB / 369.8 MB, free: 1.242 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.138, allocations: 240.2 kB / 370.1 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-05/0.1381, allocations: 54.38 kB / 370.1 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.1383, allocations: 64.38 kB / 370.2 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.1397, allocations: 0.6997 MB / 370.9 MB, free: 136 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/0.1397, allocations: 3.984 kB / 370.9 MB, free: 132 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.604e-05/0.1398, allocations: 36 kB / 370.9 MB, free: 96 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.1398, allocations: 16 kB / 370.9 MB, free: 80 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.194/0.3338, allocations: 0.5903 MB / 371.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004226/0.3381, allocations: 2.316 MB / 373.8 MB, free: 18.63 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.3396, allocations: 1.623 MB / 375.5 MB, free: 17.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005216/0.3401, allocations: 273.4 kB / 375.7 MB, free: 17.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001928/0.3403, allocations: 187.9 kB / 375.9 MB, free: 16.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.3404, allocations: 38.39 kB / 376 MB, free: 16.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.886e-06/0.3404, allocations: 1.125 kB / 376 MB, free: 16.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001599/0.342, allocations: 0.6999 MB / 376.7 MB, free: 16.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.3421, allocations: 110.8 kB / 376.8 MB, free: 16.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.3423, allocations: 263.1 kB / 377 MB, free: 16.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.3424, allocations: 36.84 kB / 377.1 MB, free: 16.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.3425, allocations: 266 kB / 377.3 MB, free: 16.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.3427, allocations: 221.6 kB / 377.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.3429, allocations: 117 kB / 377.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.357e-05/0.343, allocations: 346.7 kB / 378 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004536/0.3434, allocations: 206.3 kB / 378.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004898/0.3439, allocations: 309.1 kB / 378.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009258/0.3449, allocations: 0.5072 MB / 379 MB, free: 15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3449, allocations: 0 / 379 MB, free: 15 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001178/0.3461, allocations: 0.6324 MB / 379.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.3461, allocations: 5.75 kB / 379.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3461, allocations: 1.25 kB / 379.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.3461, allocations: 5.266 kB / 379.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007219/0.3469, allocations: 165.5 kB / 379.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.3469, allocations: 5.875 kB / 379.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/0.3474, allocations: 68.66 kB / 379.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/0.3475, allocations: 30.41 kB / 379.9 MB, free: 14.68 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 84 * 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.0002218/0.3477, allocations: 188.6 kB / 380.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.3478, allocations: 40.41 kB / 380.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.349, allocations: 0.6027 MB / 380.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.349, allocations: 7.062 kB / 380.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.349, allocations: 5.594 kB / 380.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.3491, allocations: 4.406 kB / 380.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.3511, allocations: 1.286 MB / 382 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3511, allocations: 1.719 kB / 382 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005874/0.3517, allocations: 131.5 kB / 382.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.3517, allocations: 3.625 kB / 382.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.283e-05/0.3518, allocations: 16.52 kB / 382.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.3518, allocations: 3.594 kB / 382.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3518, allocations: 0.7969 kB / 382.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.3534, allocations: 0.9687 MB / 383.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.3535, allocations: 123.6 kB / 383.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.839e-05/0.3536, allocations: 18.47 kB / 383.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.354, allocations: 29.56 kB / 383.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.3542, allocations: 46.81 kB / 383.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.3542, allocations: 22 kB / 383.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002283/0.3544, allocations: 190.7 kB / 383.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3544, allocations: 0 / 383.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006302/0.3551, allocations: 183.8 kB / 383.8 MB, free: 12.66 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * 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 (66): * Single equations (assignments): 66 * 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.002085/0.3572, allocations: 1.551 MB / 385.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.3586, allocations: 0.5614 MB / 385.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3587, allocations: 0 / 385.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005458/0.3592, allocations: 274.8 kB / 386.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006348/0.3599, allocations: 49.03 kB / 386.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006484/0.3664, allocations: 4.504 MB / 390.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.3667, allocations: 0.8438 MB / 391.5 MB, free: 7.723 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.00043/0.3672, allocations: 76.75 kB / 391.6 MB, free: 7.691 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.3674, allocations: 189.4 kB / 391.8 MB, free: 7.555 MB / 302.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3674, allocations: 0 / 391.8 MB, free: 7.555 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/0.3929, allocations: 9.026 MB / 400.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/0.3931, allocations: 234.2 kB / 401 MB, free: 2.859 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.102/2.495, allocations: 0 / 401 MB, free: 2.859 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches