Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 109.4 kB / 18.36 MB, free: 4.637 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.001602/0.001602, allocations: 192 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 43.94 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07827/0.07961, allocations: 46.62 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005068/0.08472, allocations: 4.142 MB / 332.9 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.08712, allocations: 1.667 MB / 334.5 MB, free: 13.9 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.0873, allocations: 12 kB / 334.6 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002133/0.08945, allocations: 1.011 MB / 335.6 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004622/0.08993, allocations: 238.2 kB / 335.8 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.09138, allocations: 0.7939 MB / 336.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000544/0.09193, allocations: 0.6222 MB / 337.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006787/0.09262, allocations: 0.5032 MB / 337.7 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003121/0.09294, allocations: 267 kB / 338 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003804/0.09334, allocations: 330.7 kB / 338.3 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.508e-05/0.09342, allocations: 52 kB / 338.4 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004494/0.09388, allocations: 271.7 kB / 338.6 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.09399, allocations: 131.5 kB / 338.7 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000243/0.09424, allocations: 310.5 kB / 339.1 MB, free: 9.371 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008654/0.09511, allocations: 0.915 MB / 340 MB, free: 8.453 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.09513, allocations: 0 / 340 MB, free: 8.453 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.09514, allocations: 0 / 340 MB, free: 8.453 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.09515, allocations: 0 / 340 MB, free: 8.453 MB / 286.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.003305/0.09846, allocations: 1.206 MB / 341.2 MB, free: 7.199 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.0985, allocations: 8.031 kB / 341.2 MB, free: 7.191 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.09961, allocations: 176 kB / 341.4 MB, free: 7.02 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.0998, allocations: 236.2 kB / 341.6 MB, free: 6.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.535e-05/0.09986, allocations: 54.38 kB / 341.6 MB, free: 6.695 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-05/0.09996, allocations: 64.28 kB / 341.7 MB, free: 6.633 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.1011, allocations: 0.7116 MB / 342.4 MB, free: 5.906 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.1012, allocations: 0 / 342.4 MB, free: 5.906 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.856e-05/0.1012, allocations: 24 kB / 342.4 MB, free: 5.883 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.1013, allocations: 16 kB / 342.4 MB, free: 5.867 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.1025, allocations: 0.6062 MB / 343.1 MB, free: 5.262 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003152/0.1056, allocations: 2.293 MB / 345.3 MB, free: 2.824 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.1072, allocations: 1.631 MB / 347 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004949/0.1077, allocations: 275.3 kB / 347.2 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.1078, allocations: 93.67 kB / 347.3 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.1079, allocations: 43.12 kB / 347.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of pre-optimization done (n=66): time 1.963e-06/0.1079, allocations: 0 / 347.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of matching and sorting (n=66): time 0.001523/0.1094, allocations: 0.7017 MB / 348.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.1095, allocations: 111.4 kB / 348.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.1098, allocations: 264.8 kB / 348.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.1098, allocations: 37.7 kB / 348.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.11, allocations: 263.9 kB / 348.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.1101, allocations: 220.8 kB / 349 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.1103, allocations: 122.7 kB / 349.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1105, allocations: 346.7 kB / 349.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/0.111, allocations: 213.8 kB / 349.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/0.1115, allocations: 297.4 kB / 349.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009764/0.1125, allocations: 0.522 MB / 350.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.1125, allocations: 0 / 350.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001197/0.1137, allocations: 0.6297 MB / 351.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1137, allocations: 8 kB / 351.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1137, allocations: 0 / 351.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1138, allocations: 7.984 kB / 351.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000713/0.1145, allocations: 155.8 kB / 351.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.1145, allocations: 8 kB / 351.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/0.1149, allocations: 67.36 kB / 351.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/0.115, allocations: 27.98 kB / 351.3 MB, free: 12.45 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.0002162/0.1152, allocations: 189.7 kB / 351.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-05/0.1153, allocations: 39.53 kB / 351.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.1165, allocations: 0.6045 MB / 352.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.1166, allocations: 8 kB / 352.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1166, allocations: 0 / 352.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.1166, allocations: 3.984 kB / 352.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.1186, allocations: 1.294 MB / 353.5 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1187, allocations: 0 / 353.5 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/0.1192, allocations: 131.8 kB / 353.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1193, allocations: 0 / 353.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.1193, allocations: 16 kB / 353.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.1193, allocations: 3.938 kB / 353.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1193, allocations: 0 / 353.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.1209, allocations: 0.9791 MB / 354.6 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.524e-05/0.121, allocations: 124.5 kB / 354.7 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.5e-05/0.1211, allocations: 16 kB / 354.7 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.1215, allocations: 35.97 kB / 354.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.593e-05/0.1216, allocations: 40.5 kB / 354.8 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.453e-05/0.1216, allocations: 16 kB / 354.8 MB, free: 8.852 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.1218, allocations: 192.5 kB / 355 MB, free: 8.664 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1218, allocations: 0 / 355 MB, free: 8.664 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005404/0.1224, allocations: 171.5 kB / 355.2 MB, free: 8.496 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.0002207/0.1226, allocations: 147.1 kB / 355.3 MB, free: 8.344 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.1237, allocations: 0.539 MB / 355.9 MB, free: 7.805 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1237, allocations: 0 / 355.9 MB, free: 7.805 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000496/0.1242, allocations: 275 kB / 356.1 MB, free: 7.535 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/0.1247, allocations: 52.8 kB / 356.2 MB, free: 7.484 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.1267, allocations: 1.061 MB / 357.2 MB, free: 6.391 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.1271, allocations: 0.8421 MB / 358.1 MB, free: 5.523 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003472/0.1274, allocations: 87.38 kB / 358.2 MB, free: 5.434 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.1276, allocations: 47.42 kB / 358.2 MB, free: 5.387 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1276, allocations: 0 / 358.2 MB, free: 5.387 MB / 302.1 MB Notification: Performance of Templates: time 0.009126/0.1367, allocations: 5.043 MB / 363.3 MB, free: 352 kB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches