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.001525/0.001525, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.001597/0.001597, allocations: 191 kB / 19.29 MB, free: 3.848 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.289/1.289, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001171/0.001171, allocations: 60.34 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0773/0.07849, allocations: 46.63 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.005769/0.0843, allocations: 4.122 MB / 332.9 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002824/0.08715, allocations: 1.682 MB / 334.5 MB, free: 13.9 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003902/0.08756, allocations: 12 kB / 334.6 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002231/0.08983, allocations: 1.007 MB / 335.6 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006011/0.09044, allocations: 234.3 kB / 335.8 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.0919, allocations: 0.794 MB / 336.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005883/0.0925, allocations: 0.6261 MB / 337.2 MB, free: 11.22 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006785/0.09318, allocations: 0.4994 MB / 337.7 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002964/0.09349, allocations: 263 kB / 338 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003905/0.09389, allocations: 342.7 kB / 338.3 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.674e-05/0.09397, allocations: 52 kB / 338.4 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004505/0.09443, allocations: 263.8 kB / 338.6 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.09454, allocations: 135.5 kB / 338.7 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002494/0.09479, allocations: 310.5 kB / 339 MB, free: 9.379 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008598/0.09566, allocations: 0.9112 MB / 340 MB, free: 8.465 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.09567, allocations: 3.938 kB / 340 MB, free: 8.461 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09568, allocations: 0 / 340 MB, free: 8.461 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.0957, allocations: 0 / 340 MB, free: 8.461 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.003317/0.09902, allocations: 1.206 MB / 341.2 MB, free: 7.207 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.09906, allocations: 8.031 kB / 341.2 MB, free: 7.199 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.1002, allocations: 184 kB / 341.4 MB, free: 7.02 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.1004, allocations: 232.2 kB / 341.6 MB, free: 6.754 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/0.1005, allocations: 50.38 kB / 341.6 MB, free: 6.703 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.1006, allocations: 72.28 kB / 341.7 MB, free: 6.633 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.1018, allocations: 0.7038 MB / 342.4 MB, free: 5.914 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.1018, allocations: 0 / 342.4 MB, free: 5.914 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/0.1019, allocations: 31.98 kB / 342.4 MB, free: 5.883 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.1019, allocations: 16 kB / 342.5 MB, free: 5.867 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.1031, allocations: 0.6101 MB / 343.1 MB, free: 5.258 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003111/0.1062, allocations: 2.293 MB / 345.4 MB, free: 2.82 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.1079, allocations: 1.627 MB / 347 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005028/0.1084, allocations: 271.3 kB / 347.3 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.1085, allocations: 97.64 kB / 347.3 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.1085, allocations: 43.12 kB / 347.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of pre-optimization done (n=66): time 3.627e-06/0.1086, allocations: 4.094 kB / 347.4 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of matching and sorting (n=66): time 0.001575/0.1101, allocations: 0.6977 MB / 348.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.1102, allocations: 111.3 kB / 348.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.1105, allocations: 261 kB / 348.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.1105, allocations: 37.7 kB / 348.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.1107, allocations: 264 kB / 348.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.1108, allocations: 220.8 kB / 349 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.111, allocations: 114.6 kB / 349.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1111, allocations: 346.8 kB / 349.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004637/0.1116, allocations: 209.9 kB / 349.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005314/0.1122, allocations: 309.3 kB / 349.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.1132, allocations: 0.5142 MB / 350.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.1132, allocations: 0 / 350.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001217/0.1144, allocations: 0.6295 MB / 351.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1144, allocations: 4 kB / 351.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.1144, allocations: 4 kB / 351.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1145, allocations: 4 kB / 351.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007049/0.1152, allocations: 159.8 kB / 351.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.1152, allocations: 8.188 kB / 351.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004667/0.1157, allocations: 71.34 kB / 351.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.577e-05/0.1157, allocations: 24 kB / 351.3 MB, free: 12.46 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.0002198/0.116, allocations: 197.6 kB / 351.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.156e-05/0.1161, allocations: 35.53 kB / 351.6 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.1173, allocations: 0.6007 MB / 352.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.1173, allocations: 4 kB / 352.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1173, allocations: 4 kB / 352.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.1173, allocations: 7.984 kB / 352.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.1195, allocations: 1.294 MB / 353.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1195, allocations: 0 / 353.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005612/0.1201, allocations: 131.8 kB / 353.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.1201, allocations: 4 kB / 353.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/0.1201, allocations: 19.98 kB / 353.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/0.1202, allocations: 11.94 kB / 353.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1202, allocations: 0 / 353.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/0.1218, allocations: 0.9752 MB / 354.6 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-05/0.1219, allocations: 120.5 kB / 354.7 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.058e-05/0.1219, allocations: 12 kB / 354.7 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/0.1223, allocations: 27.92 kB / 354.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.1225, allocations: 44.5 kB / 354.8 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.1225, allocations: 19.98 kB / 354.8 MB, free: 8.855 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.1227, allocations: 188.5 kB / 355 MB, free: 8.672 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1227, allocations: 8.062 kB / 355 MB, free: 8.664 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005375/0.1232, 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.0002422/0.1235, allocations: 139.1 kB / 355.3 MB, free: 8.352 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.1246, allocations: 0.5312 MB / 355.9 MB, free: 7.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1246, allocations: 4.312 kB / 355.9 MB, free: 7.816 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005136/0.1251, allocations: 283.1 kB / 356.1 MB, free: 7.539 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.1256, allocations: 36.44 kB / 356.2 MB, free: 7.504 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.1277, allocations: 1.073 MB / 357.2 MB, free: 6.398 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.1281, allocations: 0.846 MB / 358.1 MB, free: 5.527 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000354/0.1284, allocations: 79.41 kB / 358.2 MB, free: 5.445 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.1286, allocations: 39.42 kB / 358.2 MB, free: 5.406 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1286, allocations: 0 / 358.2 MB, free: 5.406 MB / 302.1 MB Notification: Performance of Templates: time 0.00937/0.138, allocations: 5.055 MB / 363.3 MB, free: 356 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 gbode -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