Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 109 kB / 16.62 MB, free: 6.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 190 kB / 17.54 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 241.2 MB, free: 13.66 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 44.45 kB / 300.3 MB, free: 5.859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08881/0.08986, allocations: 49.45 MB / 349.7 MB, free: 4.402 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005395/0.09531, allocations: 4.178 MB / 353.9 MB, free: 204 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002922/0.09826, allocations: 1.612 MB / 355.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006487/0.09893, allocations: 8 kB / 355.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002512/0.1015, allocations: 0.9535 MB / 356.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007825/0.1023, allocations: 206.8 kB / 356.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.1038, allocations: 0.7394 MB / 357.4 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007548/0.1045, allocations: 0.6261 MB / 358 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008458/0.1054, allocations: 0.5465 MB / 358.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004972/0.1059, allocations: 267 kB / 358.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004923/0.1064, allocations: 334.7 kB / 359.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.1065, allocations: 56 kB / 359.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006294/0.1072, allocations: 267.7 kB / 359.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.1073, allocations: 135.5 kB / 359.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000369/0.1077, allocations: 302.5 kB / 359.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.1089, allocations: 0.915 MB / 360.8 MB, free: 9.234 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1089, allocations: 0 / 360.8 MB, free: 9.234 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1089, allocations: 0 / 360.8 MB, free: 9.234 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.152e-05/0.1089, allocations: 0 / 360.8 MB, free: 9.234 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.003924/0.1129, allocations: 1.206 MB / 362 MB, free: 7.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.1129, allocations: 8.031 kB / 362 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001746/0.1131, allocations: 114.7 kB / 362.1 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/0.1143, allocations: 168.1 kB / 362.3 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.1145, allocations: 255.9 kB / 362.6 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.217e-05/0.1146, allocations: 50.38 kB / 362.6 MB, free: 7.344 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.1147, allocations: 68.36 kB / 362.7 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.116, allocations: 0.7113 MB / 363.4 MB, free: 6.551 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.1161, allocations: 0 / 363.4 MB, free: 6.551 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.284e-05/0.1161, allocations: 28 kB / 363.4 MB, free: 6.523 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.1162, allocations: 16 kB / 363.4 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.1174, allocations: 0.6024 MB / 364 MB, free: 5.902 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003472/0.1209, allocations: 2.328 MB / 366.4 MB, free: 3.441 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.1226, allocations: 1.625 MB / 368 MB, free: 1.586 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005178/0.1231, allocations: 279.3 kB / 368.3 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.1233, allocations: 93.66 kB / 368.3 MB, free: 1.199 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.1233, allocations: 43.12 kB / 368.4 MB, free: 1.148 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.354e-06/0.1233, allocations: 0 / 368.4 MB, free: 1.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.00156/0.1249, allocations: 0.6977 MB / 369.1 MB, free: 456 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.125, allocations: 115.4 kB / 369.2 MB, free: 316 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.1252, allocations: 256.9 kB / 369.5 MB, free: 48 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.1253, allocations: 41.7 kB / 369.5 MB, free: 0 / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1801/0.3054, allocations: 258.2 kB / 369.7 MB, free: 25.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003053/0.3058, allocations: 226.3 kB / 370 MB, free: 25.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.306, allocations: 120.3 kB / 370.1 MB, free: 25.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.019e-05/0.3061, allocations: 350.2 kB / 370.4 MB, free: 24.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005857/0.3067, allocations: 209.6 kB / 370.6 MB, free: 24.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005695/0.3073, allocations: 303.3 kB / 370.9 MB, free: 24.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.3084, allocations: 0.5143 MB / 371.4 MB, free: 24.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.3084, allocations: 0.7812 kB / 371.4 MB, free: 24.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001371/0.3097, allocations: 0.6261 MB / 372.1 MB, free: 24.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.3098, allocations: 11.22 kB / 372.1 MB, free: 24.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.3098, allocations: 1.219 kB / 372.1 MB, free: 24.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.3098, allocations: 4.406 kB / 372.1 MB, free: 24.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007741/0.3106, allocations: 168.6 kB / 372.2 MB, free: 24.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.3106, allocations: 4.656 kB / 372.3 MB, free: 24.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004986/0.3111, allocations: 76.27 kB / 372.3 MB, free: 24.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.111e-05/0.3112, allocations: 24.31 kB / 372.3 MB, free: 24.52 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.000229/0.3114, allocations: 188.2 kB / 372.5 MB, free: 24.35 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.573e-05/0.3115, allocations: 37.11 kB / 372.6 MB, free: 24.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.3129, allocations: 0.6066 MB / 373.2 MB, free: 24.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.313, allocations: 10.41 kB / 373.2 MB, free: 24.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.313, allocations: 1.312 kB / 373.2 MB, free: 24.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.313, allocations: 5.688 kB / 373.2 MB, free: 24.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.3151, allocations: 1.293 MB / 374.5 MB, free: 23.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.3151, allocations: 0.5625 kB / 374.5 MB, free: 23.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005856/0.3157, allocations: 128.9 kB / 374.6 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.3157, allocations: 3.359 kB / 374.6 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.3158, allocations: 13.58 kB / 374.6 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.3158, allocations: 6.578 kB / 374.6 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.3158, allocations: 2.656 kB / 374.6 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.3176, allocations: 0.9776 MB / 375.6 MB, free: 22.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-05/0.3177, allocations: 118.9 kB / 375.7 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.804e-05/0.3177, allocations: 15.69 kB / 375.7 MB, free: 22.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/0.3182, allocations: 27.58 kB / 375.8 MB, free: 22.69 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.3183, allocations: 39.28 kB / 375.8 MB, free: 22.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-05/0.3183, allocations: 18.84 kB / 375.8 MB, free: 22.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001746/0.3185, allocations: 195.4 kB / 376 MB, free: 22.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3185, allocations: 2.562 kB / 376 MB, free: 22.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005664/0.3191, allocations: 174.4 kB / 376.2 MB, free: 22.52 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.00192/0.321, allocations: 1.564 MB / 377.8 MB, free: 21.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.3225, allocations: 0.5609 MB / 378.3 MB, free: 21.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3225, allocations: 1.312 kB / 378.3 MB, free: 21.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000497/0.323, allocations: 279.2 kB / 378.6 MB, free: 21.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.3235, allocations: 54.17 kB / 378.6 MB, free: 21.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005987/0.3295, allocations: 4.494 MB / 383.1 MB, free: 18.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.3299, allocations: 0.8413 MB / 384 MB, free: 17.6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004405/0.3303, allocations: 83.69 kB / 384.1 MB, free: 17.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.3306, allocations: 187.1 kB / 384.2 MB, free: 17.44 MB / 302.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3306, allocations: 0 / 384.2 MB, free: 17.44 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02588/0.3565, allocations: 9.012 MB / 393.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/0.3567, allocations: 234.3 kB / 393.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.122/2.479, allocations: 3.234 kB / 393.5 MB, free: 14.17 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches